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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x652b31
sub esp, 0xe4
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.0046361b
mov ecx, dword [esp + 0xe8]
jmp 0x65227e
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x6c]
test edx, edx
jle 0x65228e
dec edx
mov dword [ecx + 0x6c], edx
jmp 0x65230e
mov edx, dword [ecx + 0x2c]
lea edi, [esp + 0xd0]
call fcn.0046361b
mov ecx, dword [edx + 0x30]
mov dword [esp], ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 4], ecx
call fcn.004054c0
lea edi, [esp + 0x80]
lea esi, [esp + 0xd0]
call fcn.00463afe
mov ecx, dword [esp + 0xe8]
lea edi, [ecx + 0x30]
mov edx, dword [0x9b1930]
test edx, edx
jne 0x6522e8
lea esi, [esp + 0x80]
call fcn.00463afe
jmp 0x652305
lea eax, [0x6f8460]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call fcn.00410b70
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x6c]
cmp edx, 3
jae 0x652b24
lea edx, [edx + edx*4]
lea esi, [ecx + edx*4 + 0x30]
lea edi, [esp + 0x94]
call fcn.00463afe
lea edi, [esp + 0xa8]
lea esi, [esp + 0x94]
call fcn.00463afe
cmp dword [esp + 0xa8], 0x12
je 0x652277
lea edi, [esp + 0xbc]
lea esi, [esp + 0x94]
call fcn.00463afe
mov ecx, dword [esp + 0xbc]
cmp ecx, 0xc
jg 0x6525d8
cmp ecx, 5
jle 0x652528
cmp ecx, 9
je 0x65241d
cmp ecx, 0xa
jne 0x6523cc
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0x14]
test ecx, 2
jne 0x6523c5
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x20]
mov dword [esp + 0x74], ebx
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x58], ebp
xor esi, esi
jmp 0x652abb
xor ecx, ecx
jmp 0x65299b
cmp ecx, 0xc
jne 0x65283e
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
lea eax, [0x7216b1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x16
mov dword [esp + 0xc], 0x11
call fcn.0064ea40
mov eax, dword [esp + 0x10]
lea ecx, [0x79f4fc]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
cmp ebx, 1
jb 0x65298f
mov dword [esp + 0x3c], edx
lea eax, [ebx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x71681b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004dfaf0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
lea ebx, [0x6fbd20]
mov dword [esp], ebx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x6524bc
mov ecx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
jmp 0x6524cf
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463350
mov eax, ecx
mov dword [eax], 8
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x6524fd
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
jmp 0x65250d
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00463350
mov eax, ecx
lea ecx, [0x79f40c]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
cmp ecx, 1
jne 0x6525c9
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc4]
cmp dword [esp + 0xc8], 4
jne 0x652558
cmp dword [ecx], 0x65757274
sete cl
jmp 0x65255a
xor ecx, ecx
mov byte [esp + 0x27], cl
lea eax, [0x6fba00]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x652586
mov ecx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
jmp 0x652599
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463350
mov eax, ecx
mov dword [eax], 2
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x27]
mov byte [eax + 0xc], cl
lea ecx, [0x79f31c]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
cmp ecx, 3
je 0x6525ea
cmp ecx, 5
je 0x6525ea
jmp 0x65283e
cmp ecx, 0x13
jg 0x652827
cmp ecx, 0xd
jne 0x6526ae
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xe8]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0064a080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x652693
mov dword [esp + 0x68], eax
nop
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test edx, edx
je 0x65264e
mov edx, dword [edx + 4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
lea eax, [0x71684b]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0064bcd0
mov eax, dword [esp + 0x68]
lea ecx, [0x79f4d4]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
cmp ecx, 0xf
je 0x6526bc
cmp ecx, 0x13
jne 0x65283e
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004adee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x30], ebp
test eax, eax
je 0x65274f
nop
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test ecx, ecx
je 0x65270e
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
lea ecx, [0x71684b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0064bcd0
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x48], edx
lea ebx, [0x6ff100]
mov dword [esp], ebx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x652798
mov ecx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
jmp 0x6527ab
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463350
mov eax, ecx
mov dword [eax], 0x10
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x6527d2
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
jmp 0x6527e2
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00463350
mov eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x6527fc
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x14], ecx
jmp 0x65280c
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00463350
mov eax, ecx
lea ecx, [0x79f54c]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
cmp ecx, 0x15
je 0x652942
cmp ecx, 0x1a
je 0x6528d4
cmp ecx, 0x1f
je 0x652866
nop
mov eax, dword [esp + 0xe8]
inc dword [eax + 0x6c]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
add esp, 0xe4
ret
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x40], eax
lea ecx, [0x6f4860]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x652899
mov ecx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
jmp 0x6528ac
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463350
mov eax, ecx
mov dword [eax], 0xc
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
lea ecx, [0x79f4ac]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x44], eax
lea ecx, [0x6f47e0]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x652907
mov ecx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
jmp 0x65291a
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463350
mov eax, ecx
mov dword [eax], 5
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
lea ecx, [0x79f3e4]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xe8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00652b80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xe4
ret
mov eax, 1
xor ecx, ecx
call fcn.00463430
test cl, cl
je 0x652a14
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004091d0
mov eax, dword [esp + 8]
lea ecx, [0x6cd520]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
lea ecx, [0x722047]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x17
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0064bcd0
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x50], ecx
lea edx, [0x6fbdc0]
mov dword [esp], edx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax], 9
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x652a5c
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
jmp 0x652a6c
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.00463350
mov eax, ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x652a82
mov ecx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
jmp 0x652a95
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463350
mov eax, ecx
mov ecx, dword [esp + 0xc0]
mov dword [eax + 4], ecx
lea ecx, [0x79f434]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
add esp, 0xe4
ret
inc esi
cmp esi, ebp
jge 0x652b1c
mov edi, dword [ebx + esi*4]
test edi, edi
je 0x652aba
mov dword [esp + 0x54], esi
lea eax, [0x6d0b40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040fa50
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x652b0b
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
jmp 0x652aba
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
mov eax, dword [esp + 0xe8]
setge cl
jmp 0x65299b
mov eax, edx
mov ecx, 3
call fcn.004633d0
nop
call fcn.00461f40
jmp fcn.00652240