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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x6532c3
sub esp, 0x8c
mov edx, dword [esp + 0x98]
cmp edx, 7
jg 0x652b93
cmp edx, 4
jne 0x652ab5
mov ebx, dword [esp + 0x94]
cmp dword [ebx], 0x74736f48
jne 0x652d39
nop
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
add esp, 0x8c
ret
cmp edx, 6
jne 0x652b23
mov ebx, dword [esp + 0x94]
cmp dword [ebx], 0x6b6f6f43
jne 0x652d39
cmp word [ebx + 4], 0x6569
jne 0x652d39
mov edx, dword [esp + 0x90]
movzx ebp, byte [edx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x652aff
mov ebp, dword [edx + 0x70]
mov dword [esp + 0x78], ebp
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x38], ecx
xor eax, eax
jmp 0x653238
mov ebx, dword [edx + 0xa4]
mov dword [esp + 0x80], ebx
mov ecx, dword [edx + 0xa8]
mov dword [esp + 0x40], ecx
xor eax, eax
xor edx, edx
xor ebp, ebp
xor esi, esi
jmp 0x653032
cmp edx, 7
jne 0x652ba6
mov ebx, dword [esp + 0x94]
cmp dword [ebx], 0x69617254
jne 0x652d39
cmp word [ebx + 4], 0x656c
jne 0x652d39
cmp byte [ebx + 6], 0x72
jne 0x652d39
mov edx, dword [0x70785c]
mov dword [esp + 0x30], edx
mov ebx, dword [0x707858]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x90]
mov ecx, dword [ebp + 0x80]
mov dword [esp + 0x44], ecx
mov ebp, dword [ebp + 0x7c]
mov dword [esp + 0x84], ebp
xor eax, eax
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
jmp 0x652ebe
cmp edx, 0xa
je 0x652c85
cmp edx, 0xc
je 0x652c1b
cmp edx, 0xe
je 0x652bb2
mov ebx, dword [esp + 0x94]
jmp 0x652d39
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [0x76bdef]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xe
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x652bef
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
jmp 0x652d39
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
add esp, 0x8c
ret
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [0x76b3a8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x652c58
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
jmp 0x652d39
nop
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
add esp, 0x8c
ret
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [0x76ab88]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
je 0x652d01
mov edx, dword [esp + 0x90]
movzx ebx, byte [edx + 2]
test bl, bl
jne 0x652cd3
mov ebx, dword [edx + 0x70]
mov dword [esp + 0x7c], ebx
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x3c], ecx
xor eax, eax
jmp 0x652e16
mov eax, dword [str.close]
mov ecx, dword [0x70774c]
mov edx, dword [0x707750]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x8c
ret
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [0x76ad40]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x652d52
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp + 0x70]
mov dword [esp + 0x74], esi
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0x34], ecx
xor eax, eax
jmp 0x652d80
nop
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
add esp, 0x8c
ret
inc eax
cmp eax, ecx
jge 0x652dee
jae 0x652e10
imul ebp, eax, 0x1c
mov dword [esp + 0x64], ebp
mov edi, dword [ebp + esi + 4]
mov ebp, dword [ebp + esi]
cmp edx, edi
je 0x652da1
xor ebp, ebp
jmp 0x652dd6
mov dword [esp + 0x48], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.00403310
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
mov ebp, eax
mov eax, dword [esp + 0x48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x652d7f
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + esi + 0xc]
mov edx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x14]
jmp 0x652df4
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
add esp, 0x8c
ret
call fcn.00456b40
inc eax
cmp eax, ecx
jge 0x652e79
jae 0x652e9b
imul edx, eax, 0x1c
mov ebp, dword [edx + ebx + 4]
mov esi, dword [edx + ebx]
cmp ebp, 0xa
je 0x652e2f
xor ebp, ebp
jmp 0x652e65
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], edx
mov dword [esp], esi
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00403310
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x7c]
mov ebp, eax
mov eax, dword [esp + 0x58]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x652e15
mov eax, dword [edx + ebx + 0xc]
mov ecx, dword [edx + ebx + 0x10]
mov edx, dword [edx + ebx + 0x14]
jmp 0x652e7f
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x8c
ret
call fcn.00456b40
mov esi, dword [esp + 0x84]
mov esi, edx
mov edi, ebx
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x84]
cmp eax, ecx
jge 0x653000
jae 0x653020
mov dword [esp + 0x4c], eax
imul ebx, eax, 0x1c
mov edx, dword [ebp + ebx + 4]
lea ecx, [edx + edi]
mov ebx, dword [ebp + ebx]
cmp esi, ecx
jae 0x652f32
mov dword [esp + 0x64], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x68]
lea ebp, [edi + eax]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00457450
mov eax, dword [esp + 0x4c]
inc eax
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jg 0x652f6f
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x68]
jmp 0x652ea0
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + edx]
mov esi, dword [esp + 0x28]
cmp esi, ebp
jb 0x652f8c
mov edi, dword [esp + 0x68]
jmp 0x652fc4
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x68], edi
lea eax, [edi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00457450
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x68]
jmp 0x652ea0
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
add esp, 0x8c
ret
call fcn.00456b40
mov edi, dword [esp + 0x80]
mov ebp, edx
mov edx, ebx
mov ebx, edi
cmp eax, ecx
jge 0x653216
jae 0x653232
mov dword [esp + 0x54], eax
imul edi, eax, 0x1c
mov ecx, dword [ebx + edi + 4]
mov eax, dword [ebx + edi]
test ecx, ecx
je 0x653120
mov dword [esp + 0x64], edi
lea ebx, [ecx + ebp]
cmp edx, ebx
jae 0x6530a9
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x60], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], esi
add ebp, esi
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00457450
mov eax, dword [esp + 0x60]
inc eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x6530dc
mov esi, dword [esp + 0x6c]
mov edx, ecx
jmp 0x65310e
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [eax + esi - 1], 0x3d
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x64]
mov ebp, eax
mov eax, dword [ebx + edi + 0x10]
lea ecx, [eax + ebp]
mov edi, dword [ebx + edi + 0xc]
cmp edx, ecx
jae 0x653177
mov dword [esp + 0x64], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x60], ebp
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x734860]
mov dword [esp + 0x10], ecx
call fcn.00442820
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], esi
lea ebx, [ebp + esi]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call fcn.00457450
mov eax, dword [esp + 0x54]
inc eax
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jle 0x653205
mov edx, dword [esp + 0x64]
add edx, 2
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jb 0x6531b9
mov esi, dword [esp + 0x6c]
jmp 0x6531f9
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov word [edx + esi - 2], 0x203b
jmp 0x653025
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
jmp 0x653025
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], edx
add esp, 0x8c
ret
call fcn.00456b40
inc eax
cmp eax, ecx
jge 0x65329b
jae 0x6532bd
imul edx, eax, 0x1c
mov esi, dword [edx + ebp + 4]
mov edi, dword [edx + ebp]
cmp esi, 6
je 0x653251
xor esi, esi
jmp 0x653287
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], edx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00403310
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x78]
mov esi, eax
mov eax, dword [esp + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
je 0x653237
mov eax, dword [edx + ebp + 0xc]
mov ecx, dword [edx + ebp + 0x10]
mov edx, dword [edx + ebp + 0x14]
jmp 0x6532a1
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x8c
ret
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.00652a40