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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x649ac2
sub esp, 0x80
mov eax, dword [esp + 0x84]
movzx ecx, byte [eax + 0xc]
test cl, cl
je 0x649a47
mov ecx, dword [esp + 0x98]
test ecx, ecx
jg 0x6499ff
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp], 0
lea ebx, [0x78f664]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.0043bd40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x90], ecx
call fcn.0047df30
lea edi, [esp + 0x3c]
mov esi, esp
call fcn.0044cfbe
mov eax, dword [esp + 0x84]
movzx ecx, byte [eax + 0xd]
test cl, cl
jne 0x649918
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
cmp ebx, 0xffffffff
jne 0x6498ca
xor ebx, ebx
mov dword [esp + 0x90], ecx
movzx ebp, byte [eax + 0x14]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6498a0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edx
mov eax, dword [0xa7c87c]
mov dword [esp], eax
call fcn.0045e970
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x70bac0]
cmp eax, edx
jne 0x649aa3
mov edx, dword [esp + 0x88]
mov dword [ecx], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 8], edx
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x64988c
mov eax, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov dword [esp + 0x34], ecx
lea edi, [ecx + 0xc]
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x649870
lea esi, [esp + 0x3c]
call fcn.0044cfbe
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x28]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00403d40
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x80
ret
lea eax, [0x78b120]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0040f700
jmp 0x649831
lea edi, [ecx + 4]
mov eax, dword [esp + 0x8c]
call fcn.0044c9e0
jmp 0x649817
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.0044cfbe
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00649480
jmp 0x649853
cmp ebx, 8
jae 0x649abb
lea eax, [0xa790a0]
lea eax, [eax + ebx*8]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0043bce0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
jmp 0x6497a9
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00406250
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x6499ed
mov dword [esp + 0x24], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005aeec0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
call fcn.00459700
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x50]
lea esi, [0x801ec0]
call fcn.0044cf78
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x7c], eax
mov dword [esp], 0
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
mov dword [esp + 0xc], 6
call fcn.0043bad0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
jmp 0x649797
lea ecx, [0x78f930]
mov edx, 3
xor eax, eax
jmp 0x64993c
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
call fcn.004b4fd0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
jmp 0x64971c
mov dword [esp], eax
call fcn.0045e300
mov eax, dword [esp + 0x84]
mov dword [esp], eax
lea ecx, [0x7923bf]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00648c00
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.0045e640
mov eax, dword [esp + 0x84]
jmp 0x6496ff
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x730580]
mov dword [esp + 8], eax
call fcn.00407210
ud2
call fcn.004266e0
ud2
call fcn.0044b280
jmp fcn.006496d0