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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1e4]
cmp eax, dword [ecx + 8]
jbe 0x653db8
sub esp, 0x264
mov eax, dword [esp + 0x268]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
call fcn.00654ac0
mov eax, dword [esp + 0x268]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x653742
mov ecx, eax
lea edx, [0x7852f0]
jmp 0x65377d
lea edx, [eax + 0x80]
mov dword [esp + 0x134], edx
mov dword [esp], edx
lea ebx, [0x7852f0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0064c890
mov ecx, dword [esp + 0x268]
lea edx, [0x7852dc]
mov eax, dword [esp + 0x134]
mov dword [ecx + 0x130], 0
mov dword [ecx + 0x13c], 0
mov dword [ecx + 0x148], 0
mov dword [ecx + 0x150], 0
mov dword [ecx + 0x154], 0
mov dword [ecx + 0x158], 0
lea edi, [ecx + 0x15c]
mov ebx, eax
xor eax, eax
call fcn.00465fe7
mov ecx, dword [esp + 0x268]
mov word [ecx + 0x180], 0
mov dword [ecx + 0x184], 0
mov word [ecx + 0x188], 0
lea edi, [esp + 0x204]
lea esi, [0x78793c]
call fcn.00466410
mov ecx, dword [esp + 0x268]
lea ebp, [ecx + 0x12c]
mov dword [esp + 0x11c], ebp
mov esi, ebp
mov ebp, dword [esp + 0x26c]
test ebp, ebp
jne 0x65391e
nop
lea ebp, [0x7850ac]
cmp edx, ebp
jne 0x653831
mov ebp, ebx
jmp 0x653838
mov ebp, ebx
mov ebx, 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x130], ebp
jne 0x653852
cmp dword [ebx + 4], 0x1000
jge 0x653902
lea edi, [esp + 0x190]
call fcn.00465fe5
lea ecx, [0x69be80]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.0044bce0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x12c], ecx
lea edi, [esp + 0x164]
xor eax, eax
call fcn.00465fe5
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0x1000
mov dword [esp + 0x16c], 0x1000
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x170], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x174], ecx
mov dword [esp + 0x188], 0xffffffff
mov dword [esp + 0x18c], 0xffffffff
lea edi, [esp + 0x190]
lea esi, [esp + 0x164]
call fcn.00466492
lea ebx, [esp + 0x190]
mov dword [esp + 0x10c], ebx
mov dword [esp], ebx
call fcn.004a78b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x653d88
lea esi, [ecx + 0x24]
lea edi, [esp + 0x1bc]
call fcn.0046644c
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x1bc]
call fcn.0046644c
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
call fcn.00642240
jmp 0x65396e
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x9c]
call fcn.00466474
call fcn.0064cd50
mov eax, dword [esp + 0x26c]
mov dword [esp], eax
call fcn.00643080
movzx eax, byte [esp + 0x3c]
lea edi, [esp + 0xd4]
lea esi, [esp + 4]
call fcn.00466474
lea edi, [esp + 0x9c]
lea esi, [esp + 0xd4]
call fcn.00466474
lea ecx, [esp + 0x204]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x9c]
call fcn.00466474
mov byte [esp + 0x3c], al
call fcn.0064eef0
movzx eax, byte [esp + 0x40]
test al, al
jne 0x65394f
mov eax, dword [esp + 0x268]
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x110], ecx
mov edx, dword [eax + 0x78]
lea ebx, [0x6a80e0]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00409930
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x268]
mov dword [ecx + 0xe0], eax
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x653a25
mov eax, dword [esp + 0x110]
mov dword [ecx + 0xe4], eax
jmp 0x653a37
lea edi, [ecx + 0xe4]
mov eax, dword [esp + 0x110]
call fcn.00465d80
mov dword [ecx + 0xe8], 0
mov dword [ecx + 0xec], 0
lea eax, [0x6d07c0]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x120], eax
lea ecx, [0x69be80]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x12c], eax
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00465fe5
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], 0x1000
mov dword [esp + 0x140], 0x1000
lea eax, [0x7852c8]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x268]
lea ecx, [eax + 0xb0]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x15c], 0xffffffff
mov dword [esp + 0x160], 0xffffffff
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x653b29
mov edi, dword [esp + 0x120]
lea esi, [esp + 0x138]
call fcn.00466492
mov ecx, dword [esp + 0x120]
mov dword [eax + 0xf0], ecx
jmp 0x653b6a
lea eax, [0x6d07c0]
mov dword [esp], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
lea ecx, [esp + 0x138]
mov dword [esp + 8], ecx
call fcn.004115f0
mov eax, dword [esp + 0x268]
lea edi, [eax + 0xf0]
mov ecx, eax
mov eax, dword [esp + 0x120]
call fcn.00465d80
mov eax, ecx
mov dword [eax + 0xf4], 0
mov dword [eax + 0xa8], 0
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
call fcn.0064e430
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x653bb6
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.0064e430
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x653cd9
mov ebx, dword [esp + 0x268]
mov ebp, dword [ebx + 0xa8]
mov esi, dword [ebx + 0xa4]
mov edi, dword [ebx + 0xac]
test ebp, ebp
je 0x653c16
mov dword [esp + 0x128], esi
mov ebx, dword [eax]
lea esi, [esi + ebp*4 - 4]
cmp dword [esi], ebx
jne 0x653c08
dec edx
neg edx
sar edx, 0x1f
and edx, 4
add eax, edx
dec ecx
mov ebx, dword [esp + 0x268]
mov esi, dword [esp + 0x128]
jmp 0x653c16
mov ebx, dword [esp + 0x268]
mov esi, dword [esp + 0x128]
lea edx, [ebp + ecx]
cmp edi, edx
jae 0x653c66
mov dword [esp + 0x58], ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x60], ebp
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
lea eax, [0x69b600]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x124], esi
lea ebx, [esi + ebp*4]
mov dword [esp], ebx
mov dword [esp + 4], eax
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.004666e0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x268]
mov dword [ecx + 0xa8], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 0xac], eax
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x653cc2
mov eax, dword [esp + 0x124]
mov dword [ecx + 0xa4], eax
jmp 0x653b9b
lea edi, [ecx + 0xa4]
mov eax, dword [esp + 0x124]
call fcn.00465d80
jmp 0x653b9b
mov eax, dword [esp + 0x254]
mov ecx, dword [esp + 0x258]
mov edx, dword [esp + 0x260]
sub eax, dword [esp + 0x24c]
sub ecx, dword [esp + 0x250]
mov ebx, dword [esp + 0x268]
mov dword [ebx + 0x114], eax
mov dword [ebx + 0x118], ecx
sub ecx, edx
mov dword [ebx + 0x11c], ecx
add esp, 0x264
ret
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00465fe2
mov dword [esp + 0x98], 0x80001
lea ecx, [esp + 0x204]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x64]
call fcn.00466474
mov byte [esp + 0x3c], 1
call fcn.0064eef0
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x64]
call fcn.00466474
call fcn.0064cd50
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
call fcn.004a78b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x1e84bbc]
cmp dword [0x1e84bb8], eax
jne 0x653d1e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403940
movzx eax, byte [esp + 0xc]
test al, al
je 0x653d1e
jmp 0x6539d5
call fcn.004649b0
jmp fcn.006536e0