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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb0]
cmp eax, dword [ecx + 8]
jbe 0x6532b4
sub esp, 0x130
mov eax, 0
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov byte [esp + 0x2e], 0
mov eax, dword [0x8a7170]
mov ecx, dword [0x8a7174]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea eax, [0x653560]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0xf0], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xf4], ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0x128], ecx
mov byte [esp + 0x2e], 1
lea ecx, [0x653450]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xe8], ecx
lea ecx, [0x6b9640]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00406690
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
lea ecx, [0x653410]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x12c], ecx
mov byte [esp + 0x2e], 3
mov ecx, dword [0x8a1548]
mov edx, dword [0x8a154c]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
call ecx
mov eax, dword [0x8a1548]
mov ecx, dword [0x8a154c]
mov eax, dword [eax + 0x10]
mov edx, dword [0x8a1444]
mov dword [esp + 0x5c], edx
mov dword [esp], ecx
call eax
mov eax, 1
test al, al
je 0x653281
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x134]
mov dword [esp], eax
call fcn.00651d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x134]
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], ecx
mov eax, dword [edx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00605700
mov eax, dword [esp + 0x134]
lea ecx, [eax + 0x7c]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x78], ebx
mov dword [esp], ecx
call fcn.0048dcd0
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x653233
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0048e050
lea edi, [esp + 0x114]
xor eax, eax
call fcn.004773db
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
lea edx, [esp + 0x114]
mov dword [esp + 4], edx
call fcn.00407320
lea edi, [esp + 0x64]
lea esi, [esp + 0x114]
call fcn.004778be
mov eax, dword [esp + 0x54]
test eax, eax
je 0x65286d
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x110], eax
lea eax, [0x6de7e0]
mov dword [esp], eax
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.0040b2d0
mov eax, dword [esp + 8]
lea ecx, [0x734600]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea edx, [0x734600]
xor ebx, ebx
jmp 0x6528ac
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x134]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x64]
call fcn.004778be
mov dword [esp + 0x18], eax
call fcn.00653830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, edx
mov edx, ecx
lea ecx, [0x734600]
test edx, edx
jne 0x65308d
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x134]
mov dword [eax + 0x54], 0xffffffff
mov dword [eax + 0x58], 0x7fffffff
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call fcn.0048dcd0
mov eax, dword [esp + 0x134]
dec dword [eax + 0x84]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call fcn.0048e050
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00643670
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
movzx ecx, byte [esp + 4]
cmp dword [eax + 4], 4
je 0x65291c
mov eax, 1
jmp 0x652927
mov eax, dword [eax]
cmp dword [eax], 0x44414548
setne al
mov byte [esp + 0x2f], al
test al, al
je 0x65294b
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x2c]
test edx, edx
setne dl
test ebx, ebx
setne bl
or ebx, edx
mov byte [esp + 0x2f], bl
jmp 0x65294f
mov eax, dword [esp + 0x60]
movzx edx, byte [eax + 0x3c]
movzx ebx, byte [esp + 0x2f]
test dl, dl
jne 0x65296a
mov edx, dword [esp + 0x64]
mov edx, dword [edx]
movzx edx, byte [edx + 0x40]
test dl, dl
je 0x652971
mov edx, 1
jmp 0x65297b
cmp dword [eax + 8], 0xc7
setle dl
mov byte [esp + 0x2f], dl
test dl, dl
jne 0x652987
mov byte [esp + 0x2f], cl
movzx edx, byte [esp + 0x2f]
test dl, dl
je 0x652994
xor edx, edx
jmp 0x652999
movzx edx, byte [esp + 0x2c]
test bl, bl
je 0x652ebd
test cl, cl
jne 0x652ebd
mov byte [esp + 0x2c], dl
lea eax, [0x6b99c0]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00406690
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
lea ecx, [0x6e8820]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
mov dword [eax], edx
mov edx, dword [0x8c88d8]
test edx, edx
je 0x6529fa
call fcn.004772e0
mov dword [edi], ebx
mov dword [esp + 0x88], eax
mov dword [eax + 4], ebx
lea ecx, [0x6d1e00]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 4]
lea ecx, [0x6533b0]
mov dword [eax], ecx
mov edx, dword [0x8c88d8]
test edx, edx
jne 0x652a39
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x88]
jmp 0x652a5b
call fcn.00477310
mov edx, dword [esp + 0x58]
mov dword [edi], edx
mov ebx, dword [esp + 0x7c]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov ebp, dword [esp + 0x88]
mov esi, dword [ebp + 0x20]
mov dword [edi + 0xc], esi
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [ebp + 0x20], eax
lea eax, [0x6d7500]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
lea ecx, [0x6532c0]
mov dword [eax], ecx
mov edx, dword [0x8c88d8]
test edx, edx
jne 0x652aa0
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x134]
mov esi, dword [esp + 0x88]
jmp 0x652ad9
call fcn.00477340
mov edx, dword [esp + 0x58]
mov dword [edi], edx
mov ebx, dword [esp + 0x7c]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x134]
mov dword [edi + 8], ebp
mov dword [edi + 0xc], eax
mov esi, dword [esp + 0x88]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], esi
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 0x24]
mov dword [edi + 0x18], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
mov dword [esi + 0x1c], eax
lea eax, [0x734e7c]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], esi
movzx edi, byte [esp + 0x6c]
xchg edi, eax
mov byte [esp + 0x2f], al
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x652b72
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
lea eax, [0x705fdc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
call fcn.0063fc80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x702558]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00604d50
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x2f], al
lea eax, [0x734e7c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x134]
mov esi, dword [esp + 0x88]
movzx edi, byte [esp + 0x2f]
xchg edi, eax
test al, al
xchg edi, eax
je 0x652c4f
lea eax, [0x6df1a0]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [eax + 8], 0
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x652bb1
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
jmp 0x652bdd
mov ecx, dword [eax + 4]
call fcn.00477330
mov dword [edi], ecx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [edi + 8], ecx
mov edx, dword [eax]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x24]
mov dword [edi + 0x14], ebx
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax], ecx
lea ecx, [0x734e90]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x1c]
mov dword [esp], eax
lea eax, [0x705fdc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
call fcn.0063fda0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
lea ecx, [0x705131]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xe
call fcn.0063fda0
mov eax, dword [esp + 0x60]
mov dword [eax + 0x28], 0xffffffff
mov dword [eax + 0x2c], 0xffffffff
mov byte [eax + 0x3d], 1
mov ecx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [esp + 0xa8]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.0044f400
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x65303f
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx + 0x4c]
lea edi, [esp + 0x90]
mov ebx, eax
xor eax, eax
call fcn.004773da
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x2f]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], edx
lea eax, [esp + 0x90]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 1
call fcn.0044f400
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x652d93
xor edx, edx
jmp 0x652e87
cmp eax, 1
je 0x652e50
movzx eax, byte [esp + 0x2f]
movzx ecx, byte [esp + 0x2c]
test cl, cl
je 0x652e1d
test al, al
je 0x652e12
mov ecx, dword [esp + 0x134]
movzx ebx, byte [ecx + 0x51]
test bl, bl
je 0x652dc1
xor edx, edx
jmp 0x652e26
mov byte [esp + 0x2b], al
mov dword [esp], ecx
call fcn.00654290
movzx eax, byte [esp + 4]
test al, al
jne 0x652de6
movzx eax, byte [esp + 0x2b]
mov ecx, dword [esp + 0x134]
xor edx, edx
jmp 0x652e26
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
lea edx, [esp + 0xe0]
call eax
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x134]
mov edx, eax
movzx eax, byte [esp + 0x2b]
jmp 0x652e26
mov ecx, dword [esp + 0x134]
xor edx, edx
jmp 0x652e26
mov ecx, dword [esp + 0x134]
xor edx, edx
test al, al
je 0x652e87
mov byte [esp + 0x2d], dl
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x2f]
mov dword [esp + 4], ecx
call fcn.004068f0
mov ecx, dword [esp + 0x134]
movzx edx, byte [esp + 0x2d]
jmp 0x652e87
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004efa60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x134]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00652150
xor edx, edx
mov byte [esp + 0x2c], dl
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
mov ecx, dword [0x8a71a0]
mov ebx, dword [eax]
mov ebp, dword [0x8a71a4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov edx, eax
call ebx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
movzx eax, byte [esp + 0x2c]
jmp 0x65274d
mov byte [esp + 0x2f], dl
test dl, dl
je 0x652ed9
mov edx, dword [esp + 0x134]
movzx ebx, byte [edx + 0x51]
xor ebx, 1
mov byte [esp + 0x2f], bl
jmp 0x652ee0
mov edx, dword [esp + 0x134]
movzx ebx, byte [esp + 0x2f]
test bl, bl
jne 0x652eed
xor ebx, ebx
jmp 0x652f44
mov byte [esp + 0x2a], cl
mov dword [esp], edx
call fcn.00654290
movzx eax, byte [esp + 4]
test al, al
jne 0x652f16
mov eax, dword [esp + 0x60]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x134]
xor ebx, ebx
jmp 0x652f44
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
lea edx, [esp + 0xe0]
call eax
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x134]
mov ebx, eax
mov eax, dword [esp + 0x60]
mov byte [esp + 0x2c], bl
test cl, cl
je 0x652f66
mov ecx, dword [0x8a7188]
mov ebp, dword [0x8a718c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.0044f400
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x653066
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x14]
mov eax, dword [edx]
mov ecx, dword [0x8a71a0]
mov ebx, dword [0x8a71a4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
movzx eax, byte [esp + 0x2c]
jmp 0x65274d
mov byte [esp + 0x2e], 1
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov byte [esp + 0x2e], 1
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov ecx, dword [esp + 0x134]
mov ebx, dword [ecx + 0x54]
mov ebp, dword [ecx + 0x58]
test ebp, ebp
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebx, ebx
sete bl
and esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x653140
mov dword [esp], ecx
call fcn.00651d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b7e0
mov eax, dword [esp + 8]
lea ecx, [0x6c0240]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
lea eax, [0x718649]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
lea eax, [esp + 0x104]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c8ee0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xc8]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.0044f400
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x65320c
mov byte [esp + 0x2e], 1
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov byte [esp + 0x2e], 1
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.006535b0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0048e050
mov byte [esp + 0x2e], 1
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov byte [esp + 0x2e], 1
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x128]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
call fcn.00475ee0
jmp fcn.00652620