Function at 0x652a80
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 0x653305
sub esp, 0x8c
mov edx, dword [esp + 0x98]
cmp edx, 7
jg 0x652bd0
cmp edx, 4
jne 0x652af5
mov ebx, dword [esp + 0x94]
cmp dword [ebx], 0x74736f48
jne 0x652d79
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 0x652b63
mov ebx, dword [esp + 0x94]
cmp dword [ebx], 0x6b6f6f43
jne 0x652d79
cmp word [ebx + 4], 0x6569
jne 0x652d79
mov edx, dword [esp + 0x90]
movzx ebp, byte [edx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x652b42
mov ebp, dword [edx + 0x70]
mov dword [esp + 0x80], ebp
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x54], ecx
xor eax, eax
jmp 0x653273
mov ebx, dword [edx + 0xa4]
mov dword [esp + 0x70], ebx
mov ecx, dword [edx + 0xa8]
mov dword [esp + 0x44], ecx
xor eax, eax
xor edx, edx
xor ebp, ebp
xor esi, esi
jmp 0x653070
cmp edx, 7
jne 0x652be3
mov ebx, dword [esp + 0x94]
cmp dword [ebx], 0x69617254
jne 0x652d79
cmp word [ebx + 4], 0x656c
jne 0x652d79
cmp byte [ebx + 6], 0x72
jne 0x652d79
mov edx, dword [0x7077ac]
mov dword [esp + 0x48], edx
mov ebx, dword [0x7077a8]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x90]
mov ecx, dword [ebp + 0x80]
mov dword [esp + 0x4c], ecx
mov ebp, dword [ebp + 0x7c]
mov dword [esp + 0x78], ebp
xor eax, eax
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
jmp 0x652eff
cmp edx, 0xa
je 0x652cc2
cmp edx, 0xc
je 0x652c58
cmp edx, 0xe
je 0x652bef
mov ebx, dword [esp + 0x94]
jmp 0x652d79
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [0x76bb4f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xe
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x652c2c
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
jmp 0x652d79
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, [0x76b108]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x652c95
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
jmp 0x652d79
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, [0x76a8e8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
je 0x652d41
mov edx, dword [esp + 0x90]
movzx ebx, byte [edx + 2]
test bl, bl
jne 0x652d13
mov ebx, dword [edx + 0x70]
mov dword [esp + 0x84], ebx
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x58], ecx
xor eax, eax
jmp 0x652e56
mov eax, dword [str.close]
mov ecx, dword [0x70787c]
mov edx, dword [0x707880]
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, [0x76aaa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x652d92
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp + 0x70]
mov dword [esp + 0x7c], esi
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0x50], ecx
xor eax, eax
jmp 0x652dc0
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 0x652e2e
jae 0x652e50
imul ebp, eax, 0x1c
mov dword [esp + 0x64], ebp
mov edi, dword [ebp + esi + 4]
mov ebp, dword [ebp + esi]
cmp edx, edi
je 0x652de1
xor ebp, ebp
jmp 0x652e16
mov dword [esp + 0x20], 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 + 0x50]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x7c]
mov ebp, eax
mov eax, dword [esp + 0x20]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x652dbf
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + esi + 0xc]
mov edx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x14]
jmp 0x652e34
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 0x652ec0
jae 0x652ee2
imul edx, eax, 0x1c
mov ebp, dword [edx + ebx + 4]
mov esi, dword [edx + ebx]
cmp ebp, 0xa
je 0x652e73
xor ebp, ebp
jmp 0x652eac
mov dword [esp + 0x30], 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 + 0x58]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x84]
mov ebp, eax
mov eax, dword [esp + 0x30]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x652e55
mov eax, dword [edx + ebx + 0xc]
mov ecx, dword [edx + ebx + 0x10]
mov edx, dword [edx + ebx + 0x14]
jmp 0x652ec6
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 + 0x78]
mov esi, edx
mov edi, ebx
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
cmp eax, ecx
jge 0x653041
jae 0x653061
mov dword [esp + 0x24], eax
imul ebx, eax, 0x1c
mov edx, dword [ebp + ebx + 4]
lea ecx, [edx + edi]
mov ebx, dword [ebp + ebx]
cmp esi, ecx
jae 0x652f73
mov dword [esp + 0x64], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x34], 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, [0x7347e0]
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 + 0x34]
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], 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 + 0x24]
inc eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jg 0x652fb0
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x68]
jmp 0x652ee7
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
lea ebp, [ebx + edx]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x652fcd
mov edi, dword [esp + 0x68]
jmp 0x653005
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, [0x7347e0]
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 + 0x34]
mov ebx, dword [esp + 0x48]
mov edi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], edi
lea eax, [edi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00457450
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x68]
jmp 0x652ee7
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 + 0x70]
mov ebp, edx
mov edx, ebx
mov ebx, edi
cmp eax, ecx
jge 0x653251
jae 0x65326d
mov dword [esp + 0x2c], eax
imul edi, eax, 0x1c
mov ecx, dword [ebx + edi + 4]
mov eax, dword [ebx + edi]
test ecx, ecx
je 0x65315b
mov dword [esp + 0x64], edi
lea ebx, [ecx + ebp]
cmp edx, ebx
jae 0x6530e7
mov dword [esp + 0x88], eax
mov dword [esp + 0x38], 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, [0x7347e0]
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 + 0x38]
mov dword [esp + 0x40], 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 + 0x40]
cmp ecx, eax
jb 0x65311a
mov esi, dword [esp + 0x6c]
mov edx, ecx
jmp 0x65314c
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, [0x7347e0]
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 + 0x70]
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 0x6531b2
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, [0x7347e0]
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 + 0x40], 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 + 0x2c]
inc eax
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jle 0x653240
mov edx, dword [esp + 0x64]
add edx, 2
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x6531f4
mov esi, dword [esp + 0x6c]
jmp 0x653234
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, [0x7347e0]
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 + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov word [edx + esi - 2], 0x203b
jmp 0x653066
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
jmp 0x653066
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 0x6532dd
jae 0x6532ff
imul edx, eax, 0x1c
mov esi, dword [edx + ebp + 4]
mov edi, dword [edx + ebp]
cmp esi, 6
je 0x653290
xor esi, esi
jmp 0x6532c9
mov dword [esp + 0x28], 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 + 0x54]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x80]
mov esi, eax
mov eax, dword [esp + 0x28]
xchg esi, eax
test al, al
xchg esi, eax
je 0x653272
mov eax, dword [edx + ebp + 0xc]
mov ecx, dword [edx + ebp + 0x10]
mov edx, dword [edx + ebp + 0x14]
jmp 0x6532e3
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.00652a80