Function at 0x646020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x646dd5
sub esp, 0x124
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x659970]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x94], eax
test byte [eax], al
lea ecx, [eax + 0xb0]
mov dword [esp], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
call fcn.0046ba00
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
test ecx, ecx
jne 0x6460ad
nop
mov edx, dword [0x8ce17c]
lea ecx, [0x73d13c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], edx
nop
mov eax, dword [ecx + 0x1c]
mov dword [esp], edx
lea ebx, [0x69c540]
mov dword [esp + 4], ebx
lea ebx, [0x8f4fa0]
mov dword [esp + 8], ebx
call eax
mov eax, dword [esp + 0x10]
lea ecx, [0x6a6700]
cmp dword [esp + 0xc], ecx
je 0x6460e4
xor eax, eax
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 8]
test edx, edx
je 0x6461de
mov ebx, dword [ecx + 0x1c]
test ebx, ebx
je 0x646184
mov ebp, dword [edx]
mov edx, dword [edx + 4]
cmp edx, 4
jne 0x64611b
cmp dword [ebp], 0x70747468
jne 0x64611b
mov esi, 1
jmp 0x646138
cmp edx, 5
jne 0x646136
cmp dword [ebp], 0x70747468
jne 0x646136
cmp byte [ebp + 4], 0x73
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x646138
xor esi, esi
mov dword [esp + 0x60], eax
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x64], ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x646238
lea edi, [esp + 0xf4]
xor eax, eax
call fcn.00464574
lea ecx, [0x6c6e20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ecx, [esp + 0xf4]
mov dword [esp + 8], ecx
call fcn.0040d9b0
jmp 0x646afe
nop
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
test eax, eax
je 0x646197
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x18
lea ecx, [0x6da0f2]
mov dword [eax], ecx
mov dword [esp + 0x130], 0
lea ecx, [0x73be18]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
nop
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
test eax, eax
je 0x6461f1
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x6d8771]
mov dword [eax], ecx
mov dword [esp + 0x130], 0
lea ecx, [0x73be18]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
mov ebx, dword [ecx + 0x20]
mov edi, dword [ecx + 0x24]
test ebx, ebx
je 0x646352
lea eax, [0x73cef0]
cmp ebx, eax
je 0x646254
xor eax, eax
jmp 0x646283
mov dword [esp], ebx
mov dword [esp + 4], edi
lea eax, [0x8f4fa0]
mov dword [esp + 8], eax
call fcn.004038b0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
movzx esi, byte [esp + 0x2f]
test al, al
je 0x646290
mov eax, dword [esp + 0x60]
jmp 0x646352
lea eax, [0x6c85e0]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov dword [esp + 0x54], edi
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x6462be
mov esi, dword [esp + 0x12c]
call fcn.00464950
jmp 0x6462db
lea eax, [0x6c85e0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x12c]
mov dword [esp + 8], eax
call fcn.00411390
lea eax, [0x6b1520]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax], 0
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
mov dword [eax], ebx
mov ebx, dword [0x8f52e0]
test ebx, ebx
jne 0x64631e
mov dword [eax + 4], edx
jmp 0x64632c
lea edi, [eax + 4]
mov ebx, eax
mov eax, edx
call fcn.004642e0
mov eax, ebx
lea edx, [0x73ccb0]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x20], edx
mov edx, dword [0x8f52e0]
test edx, edx
jne 0x646348
mov dword [ebx + 0x24], eax
jmp 0x646350
lea edi, [ebx + 0x24]
call fcn.004642e0
mov ecx, ebx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00645f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x646385
movzx eax, byte [esp + 0x2f]
test al, al
mov eax, dword [esp + 0x54]
jmp 0x64643b
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x8ceb3c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp dword [0x8ceb38], ecx
jne 0x6463f4
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x646410
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], esi
add esp, 0x124
ret
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00646ea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x646689
movzx edx, byte [esp + 0x2f]
test dl, dl
je 0x646598
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test ecx, ecx
jne 0x646452
xor ecx, ecx
jmp 0x646479
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x6ee5d4]
mov dword [esp + 8], eax
call fcn.0047aca0
cmp dword [esp + 0xc], 0xffffffff
sete al
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x70]
test cl, cl
je 0x646530
nop
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
test ecx, ecx
je 0x646498
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409670
mov eax, dword [esp + 8]
lea ecx, [0x698ba0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x6db9bd]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x6466a9
nop
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x646551
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x6dc034]
mov dword [eax], ecx
mov dword [esp + 0x130], 0
lea ecx, [0x73be18]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0x124
ret
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x6465aa
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x6dbbd9]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00409670
mov eax, dword [esp + 8]
lea ecx, [0x698ba0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00409670
mov eax, dword [esp + 8]
lea ecx, [0x698ba0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x6d2a53]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], ebx
add esp, 0x124
ret
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
call edx
mov dword [esp], 0
call fcn.00406020
movzx eax, byte [esp + 8]
test al, al
jne 0x646aa1
lea eax, [0x6cd240]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x64670b
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov edx, dword [esp + 0x60]
mov dword [edi + 8], edx
mov ebx, dword [esp + 0x12c]
mov dword [edi + 0xc], ebx
jmp 0x646735
mov eax, dword [esp + 0x6c]
call fcn.004642e0
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x60]
call fcn.004642e0
lea edi, [edx + 0xc]
mov eax, dword [esp + 0x12c]
call fcn.004642e0
mov edi, edx
mov dword [esp + 0x5c], edi
xor eax, eax
lea edi, [esp + 0xc0]
call fcn.0046457a
mov ecx, dword [esp + 0x128]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
call fcn.00647890
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea edi, [esp + 0xc0]
lea esi, [esp + 8]
call fcn.00464a54
lea edi, [esp + 0xa8]
lea esi, [esp + 0xc0]
call fcn.00464a54
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x646a54
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
lea edi, [esp + 8]
lea esi, [esp + 0xa8]
call fcn.00464a54
call fcn.00649a40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test ecx, ecx
jne 0x6469e5
mov dword [esp + 0x74], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x64682f
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00649100
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jmp 0x64684b
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00650560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x646996
mov dword [esp + 0x44], ecx
mov dword [esp + 0x7c], edx
lea eax, [0x699de0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409880
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6468cd
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00648d50
movzx eax, byte [esp + 8]
test al, al
je 0x6468fa
mov eax, dword [esp + 0x74]
lea esi, [eax + 0xc]
lea edi, [esp + 0xd8]
call fcn.00464a4a
mov eax, dword [esp + 0x128]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xd8]
call fcn.00464a4a
call fcn.0064a8f0
jmp 0x6468fa
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
call fcn.006470c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x646948
mov edx, dword [0x8c8ca8]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00646ea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test ecx, ecx
je 0x6466a9
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebp
add esp, 0x124
ret
mov eax, dword [esp + 0x44]
lea ecx, [0x73c4a8]
cmp eax, ecx
jne 0x646961
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
jmp 0x646967
mov edx, dword [esp + 0x7c]
mov ecx, eax
lea eax, [0x73c50c]
cmp ecx, eax
jne 0x646976
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
add esp, 0x124
ret
test byte [eax], al
mov ecx, dword [0x8f52e0]
test ecx, ecx
jne 0x6469ae
mov ecx, dword [esp + 0x12c]
mov dword [eax + 0x44], ecx
jmp 0x6469c1
lea edi, [eax + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x12c]
call fcn.004642e0
mov eax, ecx
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0x124
ret
mov dword [esp + 0x84], edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00649100
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x646a29
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov dword [esp + 0x130], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x138], eax
add esp, 0x124
ret
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x646a81
mov dword [esp + 0x84], edx
mov dword [esp + 0x7c], ebx
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x646ab7
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
lea eax, [esp + 0xf4]
mov dword [esp], eax
call fcn.0040dbe0
mov edx, dword [esp + 0xf4]
test edx, edx
je 0x646b6c
mov ebx, dword [esp + 0xf8]
mov ebp, dword [edx + 4]
mov dword [esp + 0x3c], ebp
mov edx, dword [edx]
mov dword [esp + 0x78], edx
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
test ebp, ebp
jne 0x646b34
mov eax, ebx
mov ecx, esi
lea ebx, [0x89ddc0]
xor esi, esi
jmp 0x646b5b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], esi
xor eax, eax
jmp 0x646b8f
mov eax, ebx
lea ebx, [0x89ddc0]
xor esi, esi
jmp 0x646b5b
mov eax, ebx
mov ecx, esi
lea ebx, [0x89ddc0]
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
je 0x646bf4
xor esi, esi
jmp 0x646cb4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
movzx esi, byte [esp + 0x2f]
jmp 0x646238
mov ebx, eax
mov eax, esi
mov esi, ecx
cmp eax, ebp
jge 0x646b4c
movzx edi, byte [edx + eax]
cmp edi, 0x80
jge 0x646ba6
mov ecx, esi
lea esi, [eax + 1]
jmp 0x646bce
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0045ce50
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
cmp edi, 0x7f
jge 0x646b40
jae 0x646dc8
mov eax, ebx
lea ebx, [0x89ddc0]
movzx edi, byte [ebx + edi]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x646b89
jmp 0x646b48
nop
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x646c16
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.00409670
mov eax, dword [esp + 8]
lea ecx, [0x698ba0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x6e0be5]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
inc esi
lea ebx, [0x89ddc0]
mov ebp, dword [esp + 0x3c]
cmp esi, eax
jge 0x646aef
lea edi, [ecx + esi*8]
mov ebx, dword [edi + 4]
mov edi, dword [edi]
nop
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
jmp 0x646ce4
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
jge 0x646ca9
jae 0x646dbf
movzx edx, byte [edi + ebp]
cmp dl, 0x20
jb 0x646d03
cmp dl, 0x7f
jne 0x646cd5
cmp dl, 0x20
je 0x646cd5
cmp dl, 9
je 0x646cd5
nop
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x646d24
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409670
mov eax, dword [esp + 8]
lea ecx, [0x698ba0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x6e259a]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov eax, ebp
mov ecx, ebx
call fcn.00464360
mov eax, edi
mov ecx, 0x7f
call fcn.00464360
nop
call fcn.00462ed0
jmp fcn.00646020