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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x118]
cmp eax, dword [ecx + 8]
jbe 0x652f1d
sub esp, 0x198
mov eax, 0
mov dword [esp + 0x194], eax
mov byte [esp + 0x53], 0
mov ecx, dword [esp + 0x19c]
mov edx, dword [ecx + 0xfc]
mov dword [esp + 0x74], edx
mov ebx, dword [ecx + 0x100]
mov dword [esp + 0x70], ebx
mov ebp, dword [ecx + 0x198]
mov dword [esp + 0x6c], ebp
mov ebp, dword [ecx + 0x19c]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x1dc]
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.00465fe3
mov byte [esp + 0x110], 2
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], ebx
lea edi, [esp + 0x158]
call fcn.00465fe1
mov byte [esp + 0x18c], 1
lea edi, [esp + 0x158]
lea esi, [esp + 0xe8]
call fcn.0046647e
lea edi, [esp]
lea esi, [esp + 0x158]
call fcn.0046646a
mov dword [esp + 0x3c], ebp
call fcn.004f74e0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00465feb
lea ecx, [0x652f30]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0x194], ecx
mov byte [esp + 0x53], 1
mov ecx, dword [esp + 0x19c]
lea edx, [ecx + 0x12c]
mov ebx, dword [ecx + 0x190]
mov ebp, dword [ecx + 0x194]
mov esi, ebp
mov ebp, dword [ecx + 0x108]
mov edi, ebp
mov ebp, dword [ecx + 0x10c]
mov dword [esp + 0x64], ebp
mov ecx, dword [ecx + 0x110]
mov dword [esp + 0x60], ecx
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x74]
add edx, ebp
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x70]
add ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
call fcn.0064da00
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x19c]
mov dword [ebx + 0x10c], ecx
mov dword [ebx + 0x110], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x652cb5
mov dword [ebx + 0x108], eax
jmp 0x652cc0
lea edi, [ebx + 0x108]
call fcn.00465d80
mov dword [esp + 0x74], ecx
xor edx, edx
jmp 0x652d14
sub edx, ecx
lea ecx, [edx + 1]
neg ecx
sar ecx, 0x1f
and eax, ecx
mov byte [ebx + eax], 0xd0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
call fcn.004f7c70
mov eax, dword [esp + 0x98]
add eax, 0x14
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x74]
cmp edx, ecx
jge 0x652edc
mov dword [esp + 0x70], edx
mov dword [esp + 0x98], eax
lea edi, [esp + 0x78]
mov esi, eax
call fcn.004664ce
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov esi, ebp
mov ebp, dword [esp + 0x1dc]
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.00465fe3
mov byte [esp + 0xdc], 2
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], esi
lea edi, [esp + 0x11c]
call fcn.00465fe1
mov byte [esp + 0x150], 1
lea edi, [esp + 0x11c]
lea esi, [esp + 0xb4]
call fcn.0046647e
lea edi, [esp]
lea esi, [esp + 0x11c]
call fcn.0046646a
mov dword [esp + 0x3c], ebp
call fcn.004f74e0
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x54], ebp
lea edi, [esp]
lea esi, [esp + 0x1e0]
call fcn.004664ce
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
call fcn.004df9f0
mov ecx, dword [esp + 0x1dc]
movzx edx, byte [ecx + 0x2c]
test dl, dl
jne 0x652ef8
mov dword [esp + 0x8c], ecx
mov eax, dword [ecx + 8]
inc eax
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
cmp edx, eax
jae 0x652e70
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x69be80]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x90], ebx
lea ecx, [eax + ebx - 1]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00466510
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x652ebe
mov ebx, dword [esp + 0x90]
mov dword [eax + 4], ebx
jmp 0x652ecf
lea edi, [eax + 4]
mov eax, dword [esp + 0x90]
call fcn.00465d80
mov ebx, eax
lea eax, [ecx - 1]
cmp ecx, eax
jae 0x652cc8
jmp 0x652ef3
mov byte [esp + 0x53], 0
mov edx, dword [esp + 0x194]
mov eax, dword [edx]
call eax
add esp, 0x198
ret
call fcn.00465e60
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x78498c]
mov dword [esp + 4], eax
call fcn.00436d20
nop
call fcn.004362d0
add esp, 0x198
ret
call fcn.004649b0
jmp fcn.00652ad0