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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x646db0
sub esp, 0xd4
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea eax, [0x6e86e0]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x884700]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x646d94
mov ecx, dword [esp + 0xe0]
mov dword [eax + 0xc], ecx
test byte [eax], al
mov ecx, dword [0x884700]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x646d7b
mov dword [eax + 0x10], 0
lea ecx, [0x84ca40]
test byte [ecx], al
mov dword [esp + 8], eax
mov dword [esp], 4
lea edx, [0x84ca6c]
mov dword [esp + 4], edx
call fcn.00424900
test eax, eax
jne 0x646d6e
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x40]
mov dword [esp], ecx
lea ecx, [0x84ca40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
call fcn.0064d5c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x646d48
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00644470
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + 0x2c]
mov ebp, dword [edx + 0x28]
mov esi, dword [edx + 0x24]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x44], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00644470
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xd8]
mov dword [esp], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x1c], eax
call fcn.00646790
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [ebx]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x24], esi
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x28], edi
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x58], edi
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x34], edi
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x38], edi
mov edi, dword [ecx + 0x24]
mov dword [esp + 0x5c], edi
mov edi, dword [ecx + 0x28]
mov dword [esp + 0x3c], edi
mov edi, dword [ecx + 0x2c]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
or ebp, 0x80
mov dword [ebx], ebp
mov ebp, edi
lea edi, [esp + 0x78]
lea esi, [0x7316c0]
call fcn.0044a822
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebp
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov ebp, dword [ebx + 0x40]
lea esi, [ebx + 0x38]
mov dword [esp + 0x64], esi
lea edi, [edx + 1]
mov esi, dword [esp + 0x54]
add esi, 4
mov dword [esp + 0x60], esi
cmp edi, ebp
jg 0x646cd2
lea ebp, [edx + 1]
mov dword [ebx + 0x3c], ebp
imul edx, edx, 0x2c
lea edi, [ecx + edx]
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x646caf
lea esi, [esp + 0x78]
call fcn.0044a822
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
call fcn.0064e7b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0044a374
lea eax, [0x6b4260]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
lea eax, [0x6b4320]
mov dword [esp], eax
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x6b4260]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
lea eax, [0x6b4960]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov eax, dword [esp + 0x54]
lea ecx, [eax + 0x18]
mov dword [esp + 4], ecx
lea ecx, [0x6e0400]
mov dword [esp], ecx
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov eax, dword [esp + 0x54]
add eax, 0x24
mov dword [esp + 4], eax
lea eax, [0x6e0400]
mov dword [esp], eax
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
lea eax, [0x7140d9]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2c
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 6
mov dword [esp + 0x14], 6
call fcn.0064b2a0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
nop
call fcn.00425120
add esp, 0xd4
ret
lea ecx, [0x6dc7a0]
mov dword [esp], ecx
mov dword [esp + 4], edi
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call fcn.0040d6b0
mov eax, dword [esp + 0x30]
jmp 0x646afe
lea esi, [0x6dc7a0]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call fcn.00437660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xdc]
mov dword [ebx + 0x40], edx
mov edx, dword [0x884700]
test edx, edx
jne 0x646d2b
mov dword [ebx + 0x38], eax
mov ebp, dword [ebx + 0x38]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
mov edx, ecx
mov ecx, ebp
jmp 0x646adb
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0xdc]
jmp 0x646d17
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], edx
nop
call fcn.00425120
add esp, 0xd4
ret
nop
call fcn.00425120
add esp, 0xd4
ret
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040d5a0
mov eax, dword [esp + 0x6c]
jmp 0x6468dc
mov dword [esp], edx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x6c]
jmp 0x6468c2
call fcn.004486b0
jmp fcn.00646850