
cmp ecx,6, name!<6 (cannont be smaller than)

:00410C5C E88E790000              call 004185EF....

seems to check for erronous characters, skipping the maths if its not a letter
i.e, skips these '!"$%^&*()[]-=+1234567890'#;:' etc

has to be at least 1 valid character in name..


r!sc wishes he could program

edi=7a05;
for (i=0;i<length(name);i++){
ecx=name[i];
if ecx=>'A' & ecx <='Z'{
    ecx+=i;
    edi*=ecx;}
}
if edi!=7a05, idiv edi, 64h;

print code;

:00410C46 83F906                  cmp ecx, 00000006
:00410C49 0F8CB6000000            jl 00410D05
:00410C4F 8B3B                    mov edi, dword ptr [ebx]
:00410C51 33F6                    xor esi, esi
:00410C53 85C9                    test ecx, ecx
:00410C55 7E21                    jle 00410C78

* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:00410C76(C)
|
:00410C57 0FBE0406                movsx eax, byte ptr [esi+eax]
:00410C5B 50                      push eax
:00410C5C E88E790000              call 004185EF
:00410C61 85C0                    test eax, eax
:00410C63 8B45FC                  mov eax, dword ptr [ebp-04]
:00410C66 59                      pop ecx
:00410C67 7409                    je 00410C72
:00410C69 0FBE0C06                movsx ecx, byte ptr [esi+eax]
:00410C6D 03CE                    add ecx, esi
:00410C6F 0FAFF9                  imul edi, ecx

* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:00410C67(C)
|
:00410C72 46                      inc esi
:00410C73 3B70F8                  cmp esi, dword ptr [eax-08]
:00410C76 7CDF                    jl 00410C57

* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:00410C55(C)
|

* Possible Reference to Dialog: DialogID_7801, CONTROL_ID:0064, ""
                                  |
:00410C78 6A64                    push 00000064
:00410C7A 8BC7                    mov eax, edi
:00410C7C 33D2                    xor edx, edx
:00410C7E 59                      pop ecx
:00410C7F F7F1                    div ecx
:00410C81 FF7510                  push [ebp+10]
:00410C84 8BF8                    mov edi, eax
:00410C86 E8546A0000              call 004176DF
:00410C8B 3BC7                    cmp eax, edi
:00410C8D 59                      pop ecx