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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x647cb3
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0x24]
test cl, cl
jne 0x6475a7
xor ecx, ecx
jmp 0x6475f8
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
lea ecx, [0x7036fe]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.0063fcd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x70271d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 5
call fcn.00640900
movzx eax, byte [esp + 0x10]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x78]
test cl, cl
je 0x6476a6
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
lea edx, [0x707838]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x13
call fcn.004a0740
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6479b3
mov eax, dword [esp + 0x84]
test eax, eax
je 0x6476a2
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x6476a2
lea eax, [0x6bc600]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x70271d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x30]
mov ebx, dword [edx]
lea ebp, [0x7036fe]
mov dword [esp], ebp
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ebx
mov eax, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00647440
movzx eax, byte [esp + 4]
test al, al
je 0x647858
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
lea edx, [0x7060bc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x10
call fcn.004a0740
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x647842
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
call fcn.00489c00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x7022bb]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00455df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a0740
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x64782c
mov eax, dword [esp + 0x84]
test eax, eax
je 0x64792c
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x64792c
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
call fcn.00489c00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
lea edx, [0x6bc600]
mov dword [esp], edx
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x6477e0
mov ecx, dword [esp + 0x40]
jmp 0x6477eb
call fcn.004772e0
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x30]
mov ebx, dword [edx]
lea ebp, [0x705131]
mov dword [esp], ebp
mov dword [esp + 4], 0xe
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ebx
mov eax, dword [esp + 0x84]
jmp 0x64792c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00648e30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x64788a
mov eax, dword [esp + 0x84]
jmp 0x64792c
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
lea edx, [0x70cf81]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x1c
call fcn.004a0740
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x64799d
mov eax, dword [esp + 0x84]
test eax, eax
je 0x64792c
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x64792c
lea eax, [0x6bc600]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x702c15]
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x30]
mov ebx, dword [edx]
lea ebp, [0x7067f1]
mov dword [esp], ebp
mov dword [esp + 4], 0x11
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ebx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x6479c9
mov eax, dword [edx]
mov dword [esp + 0x28], eax
lea ecx, [0x6c0080]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004726e0
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x44]
mov edx, eax
xor eax, eax
call fcn.004773d4
lea eax, [0x6f48c0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0046d2f0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
jmp 0x6479fd
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
mov dword [esi], ecx
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0046d480
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x647b92
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006408b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
cmp eax, 7
jne 0x647a56
cmp dword [ecx], 0x69617254
jne 0x647ac0
cmp word [ecx + 4], 0x656c
jne 0x647ac0
cmp byte [ecx + 6], 0x72
jne 0x647ac0
jmp 0x647b5a
cmp eax, 0xe
je 0x647a91
cmp eax, 0x11
jne 0x647ac0
mov dword [esp], ecx
lea eax, [0x7067f1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call fcn.004040c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x647b48
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
jmp 0x647ac0
mov dword [esp], ecx
lea eax, [0x705131]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.004040c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x647b52
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
inc edx
mov ebx, dword [esp + 0x28]
cmp ebx, edx
jb 0x647ad3
mov ebp, dword [esp + 0x34]
jmp 0x647b13
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0080]
mov dword [esp + 0x10], eax
call fcn.00472770
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
lea esi, [ebp + edx*8 - 4]
mov dword [esi], eax
mov eax, dword [0x8c88d8]
lea esi, [ebp + edx*8 - 8]
test eax, eax
je 0x6479e3
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [esi]
mov dword [edi + 4], eax
jmp 0x6479e3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
jmp 0x647b5a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
lea edx, [0x70784b]
mov dword [esp], edx
mov dword [esp + 4], 0x13
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00640d40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
test eax, eax
je 0x6479c9
lea ebx, [0x734680]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004edf40
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
lea ebx, [0x70229c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.004d3eb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
lea edx, [0x703351]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x7022bb]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 2
call fcn.00455e90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a0740
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x647c9d
mov eax, dword [esp + 0x84]
test eax, eax
je 0x6479c9
mov edx, dword [eax + 0x30]
test edx, edx
je 0x6479c9
mov eax, dword [edx]
lea ecx, [0x702b90]
mov dword [esp], ecx
mov dword [esp + 4], 7
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
call eax
jmp 0x6479c9
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x74
ret
call fcn.00475ee0
jmp fcn.00647580