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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x653f51
sub esp, 0xcc
lea eax, [0x68e4c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0xd8]
mov dword [esp + 8], ecx
call fcn.0044b730
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00463319
mov ecx, dword [esp + 0xd8]
cmp ecx, 8
jg 0x653ae8
lea edi, [esp + 0x78]
call fcn.0046330b
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xd8]
lea eax, [0x690320]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
call fcn.0040c360
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x58]
mov ebp, edx
xor esi, esi
mov edi, ebp
xor edx, edx
mov dword [esp + 0x30], edx
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov edx, edi
mov ebp, edx
jmp 0x653b61
mov ebp, dword [esp + 0xd4]
mov edi, dword [esp + 0xd8]
mov ebp, edi
mov edi, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0x34]
mov esi, ecx
mov ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], ebx
test edx, edx
jle 0x653e37
lea ebx, [edx - 1]
cmp ebp, ebx
jbe 0x653f47
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edi
lea eax, [ecx + edx*8 - 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call fcn.00402a40
cmp dword [esp + 0xc], 0xffffffff
je 0x653be7
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x6d39c0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
lea edx, [0x7395a8]
mov ebx, eax
mov eax, dword [esp + 0x3c]
jmp 0x653b34
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
lea edx, [0x6c5403]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004d6110
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x653c58
mov edx, dword [esp + 0x28]
cmp edx, 1
jb 0x653f3b
lea eax, [edx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x40]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6c5403]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004d6110
mov eax, dword [esp + 0x10]
inc eax
test eax, eax
jge 0x653d00
mov edx, dword [esp + 0x28]
test edx, edx
je 0x653ce7
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x653c7d
mov eax, dword [esp + 0x3c]
jmp 0x653cba
lea eax, [0x68e4c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b870
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov edx, dword [esp + 0x28]
mov eax, ebx
mov esi, edi
mov ebx, dword [esp + 0x20]
mov ecx, ebp
lea ebp, [eax + ebx*8 + 4]
mov dword [ebp], edx
mov edx, dword [0x8e84e0]
lea edi, [eax + ebx*8]
test edx, edx
jne 0x653cd8
mov edx, dword [esp + 0x40]
mov dword [edi], edx
jmp 0x653cf3
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.00463080
mov eax, edx
jmp 0x653cf3
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
jmp 0x653b34
mov edx, dword [esp + 0x28]
cmp eax, edx
ja 0x653f34
movzx ecx, byte [esp + 0xd0]
test cl, cl
jne 0x653d1e
mov ebx, dword [esp + 0x40]
jmp 0x653d3a
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004d5040
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], eax
lea ecx, [0x690320]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0040fd30
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
je 0x653d84
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
jmp 0x653b34
lea eax, [0x690320]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.004103c0
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x653dc6
mov ebx, dword [esp + 0x3c]
jmp 0x653dfd
lea ebx, [0x68e4c0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044b870
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, edi
lea ebp, [ebx + eax*8 + 4]
mov esi, dword [esp + 0x28]
mov dword [ebp], esi
mov ebp, dword [0x8e84e0]
lea edi, [ebx + eax*8]
test ebp, ebp
jne 0x653e1d
mov ebp, dword [esp + 0x40]
mov dword [edi], ebp
jmp 0x653e26
mov eax, dword [esp + 0x40]
call fcn.00463080
mov esi, edx
mov eax, ebx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
jmp 0x653b34
xor eax, eax
jmp 0x653e42
inc eax
mov esi, dword [esp + 0x20]
mov ebx, ebp
mov ecx, esi
shr esi, 1
cmp eax, esi
jge 0x653ef2
mov edx, ecx
sub ecx, eax
cmp edx, eax
jbe 0x653f2d
lea ebp, [ecx - 1]
lea esi, [ebx + eax*8]
mov ebx, dword [esi]
mov dword [esp + 0x54], ebx
mov ebx, dword [esi + 4]
cmp edx, ebp
jbe 0x653f24
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], esi
mov ebp, dword [esp + 0x3c]
lea edx, [ebp + eax*8 + 4]
lea ebx, [ebp + ecx*8 - 8]
mov dword [esp + 0x4c], ebx
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [edx], ebx
mov edx, dword [0x8e84e0]
lea ebx, [ebp + ecx*8 - 4]
test edx, edx
jne 0x653ea6
mov edx, dword [esp + 0x50]
mov dword [edx], esi
jmp 0x653eb9
mov ecx, edi
mov edi, dword [esp + 0x50]
mov edx, eax
mov eax, esi
call fcn.00463080
mov eax, edx
mov edi, ecx
mov edx, dword [esp + 0x34]
mov dword [ebx], edx
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x653ed8
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
mov dword [ebx], edx
jmp 0x653e3b
mov ecx, edi
mov edi, dword [esp + 0x4c]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.00463080
mov eax, edx
mov edi, ecx
jmp 0x653e3b
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xf0], eax
add esp, 0xcc
ret
mov eax, ebp
mov ecx, edx
call fcn.00463100
mov ecx, edx
call fcn.00463100
mov ecx, eax
call fcn.00463120
mov eax, 1
xor ecx, ecx
call fcn.00463160
mov eax, ebx
mov ecx, ebp
call fcn.00463100
nop
call fcn.00461c70
jmp fcn.00653a70