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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x641b07
sub esp, 0x68
lea eax, [0x70dbe0]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
lea eax, [0x71b85c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.0040e140
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x641705
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x788688]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004cf1f0
mov eax, dword [esp + 0x10]
lea ecx, [0x6e9960]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov edx, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
xor esi, esi
jmp 0x64172b
lea eax, [0x93ed20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
inc ebp
mov ecx, dword [esp + 0x54]
cmp ebp, edx
jge 0x64174a
lea edi, [ecx + ebp*8]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
nop
jmp 0x64176e
mov edx, dword [esp + 0x30]
jmp 0x641790
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], ebp
jmp 0x6417bf
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
add esp, 0x68
ret
dec edi
mov edx, edi
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x30]
test edi, edi
je 0x641790
movzx edx, byte [ecx]
cmp dl, 0x20
je 0x64175d
cmp dl, 9
je 0x64175d
cmp dl, 0xa
je 0x64175d
cmp dl, 0xd
je 0x64175d
jmp 0x64173a
dec edi
mov edx, dword [esp + 0x30]
test edi, edi
je 0x641744
movzx edx, byte [ecx + edi - 1]
cmp dl, 0x20
je 0x64178b
cmp dl, 9
je 0x64178b
cmp dl, 0xa
je 0x64178b
cmp dl, 0xd
je 0x64178b
jmp 0x641740
mov edi, ebx
mov ebx, eax
mov eax, ebp
mov esi, edx
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
test edi, edi
je 0x641726
mov dword [esp + 0x38], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], ebx
nop
mov dword [esp], ecx
mov dword [esp + 4], edi
lea eax, [0x788688]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.00476ba0
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
jmp 0x641868
test edx, edx
je 0x641846
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x71b1fa]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.00476ba0
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
jmp 0x6418c9
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
jmp 0x6417af
dec edx
mov ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add eax, ebp
test edx, edx
je 0x64188e
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x641857
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x641857
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x641857
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x641857
jmp 0x64188e
dec edx
test edx, edx
je 0x641846
movzx ebp, byte [eax + edx - 1]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x64188d
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x64188d
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x64188d
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x64188d
jmp 0x641805
dec edx
mov ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add eax, ebp
test edx, edx
je 0x6418ef
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x6418b8
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x6418b8
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x6418b8
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x6418b8
jmp 0x6418ef
dec edx
test edx, edx
je 0x641916
movzx ebp, byte [eax + edx - 1]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x6418ee
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x6418ee
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x6418ee
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x6418ee
test edx, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], eax
jne 0x64192c
xor ebp, ebp
jmp 0x64195d
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [0x7384a0]
mov dword [esp + 8], ecx
call fcn.004d0880
mov eax, dword [esp + 0xc]
test eax, eax
setl al
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x641aee
mov ebp, dword [esp + 0x74]
test ebp, ebp
je 0x6419ae
cmp ebp, edx
je 0x64197a
mov esi, 1
jmp 0x6419b0
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402d90
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x74]
mov esi, eax
mov eax, dword [esp + 0x50]
jmp 0x6419b0
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x6419cf
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
jmp 0x6417af
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov byte [esp + 8], 1
call fcn.00641f30
movzx eax, byte [esp + 0x15]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test al, al
jne 0x641a0b
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
jmp 0x6417af
mov dword [esp + 0x28], edx
mov byte [esp + 0x27], cl
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x70b520]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x641a48
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
jmp 0x641a5a
call fcn.00471840
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov edx, dword [esp + 0x4c]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edx
movzx ecx, byte [esp + 0x27]
mov byte [eax + 0x10], cl
mov ecx, dword [esp + 0x38]
inc ecx
mov edx, dword [esp + 0x44]
cmp edx, ecx
jb 0x641a81
mov ebx, dword [esp + 0x5c]
jmp 0x641abf
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6e9960]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, ebx
mov ebx, eax
mov eax, dword [esp + 0x64]
mov ebp, dword [0x93f150]
test ebp, ebp
je 0x641ad7
call fcn.00471840
mov dword [edi], eax
mov ebp, dword [ebx + ecx*4 - 4]
mov dword [edi + 4], ebp
mov dword [ebx + ecx*4 - 4], eax
mov eax, edx
mov edx, ecx
mov ebp, ebx
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
jmp 0x6417af
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
jmp 0x6417af
call fcn.00470430
jmp fcn.00641650