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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64782c
sub esp, 0x74
lea eax, [0x68c6c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405a60
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea ecx, [0x68e440]
mov dword [esp], ecx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
jmp 0x64755d
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00489690
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.00504720
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
test eax, eax
jne 0x64781a
mov eax, dword [esp + 0x78]
test byte [eax], al
lea ecx, [eax + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.00489310
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x70]
lea esi, [0x694fc0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00410bf0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x64754d
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x70]
mov ebp, dword [esp + 0x30]
lea esi, [0x694fc0]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00410d60
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x647661
mov ecx, dword [esp + 0x3c]
jmp 0x647671
call fcn.0046c8a0
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00489690
lea eax, [0x68c860]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00405a60
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x6a8460]
mov dword [esp], ecx
call fcn.0040d2a0
mov eax, dword [esp + 4]
lea ecx, [0x647840]
mov dword [eax], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x6476cf
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x38]
jmp 0x6476e8
call fcn.0046c8b0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov edx, dword [esp + 0x70]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [edi + 8], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [esp], eax
call fcn.004462e0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 4]
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0046cb28
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 4
mov byte [esp + 0x14], 1
call fcn.0044d240
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6477fe
cmp eax, 1
je 0x6477d1
cmp eax, 2
jne 0x6477b7
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
call fcn.0046b490
jmp fcn.00647500