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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x52d499
sub esp, 0xb0
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ebx, 0x6c8a80
mov dword [esp], ebx
call fcn.004d11e0
mov eax, dword [esp + 0xb4]
mov dword [esp], 0x5c55e0
mov ebx, dword [0x6c8a98]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040a250
mov eax, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
mov byte [esp + 0x22], bl
mov ebp, dword [eax]
mov dword [esp + 0x80], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x84], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x88], ebp
mov ebx, 0x6c8a80
mov dword [esp], ebx
call fcn.004d1250
cmp byte [esp + 0x22], 0
je 0x52d004
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
call fcn.0052cb30
mov eax, dword [esp + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x52d03b
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, eax
add edx, ecx
movzx ecx, word [eax + 4]
movzx ebp, word [eax + 4]
movzx ebx, cx
mov ecx, ebx
movzx ebx, bp
cmp ebx, 0x10000
ja 0x52d492
cmp ecx, ebx
ja 0x52d492
cmp edx, 0
je 0x52d48b
mov dword [esp + 0x74], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x52d14d
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52d484
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x38], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
call fcn.0052ca60
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x52d47a
xor eax, eax
cmp al, 0
jne 0x52d469
mov byte [esp + 0x23], 0
cmp byte [esp + 0x23], 0
je 0x52d290
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x88], ebx
mov ebx, 0x6c8a80
mov dword [esp], ebx
call fcn.004d1360
mov eax, dword [0x6c8a98]
xor ebx, ebx
cmp eax, ebx
jne 0x52d1de
mov dword [esp], 0x5c55e0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00407010
mov ebx, dword [esp + 0x14]
cmp byte [0x6d9e38], 0
jne 0x52d27a
mov dword [0x6c8a98], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x94], ebx
mov dword [esp], 0x5c55e0
mov ebx, dword [0x6c8a98]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x8c]
mov dword [esp + 0xc], ebx
call fcn.00407c20
mov ebx, 0x6c8a80
mov dword [esp], ebx
call fcn.004d1430
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebp, 0x6c8a98
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040f3d0
jmp 0x52d1de
mov eax, dword [esp + 0xa8]
mov dword [esp], 0x5db1c0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043c2d0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x52d3f1
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52d462
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 4], eax
call fcn.0052ca60
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x52d458
xor eax, eax
cmp al, 0
je 0x52d3d9
mov ecx, dword [esp + 0x80]
mov eax, esi
mov ebx, esi
inc ebx
cmp ebx, edi
ja 0x52d413
mov esi, ebx
mov dword [esp + 0x84], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 0x10
add ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [ebx], ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [ebx + 0xc], ebp
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jl 0x52d319
cmp esi, edi
ja 0x52d40c
cmp esi, esi
ja 0x52d40c
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jmp 0x52d182
call fcn.004288f0
ud2
mov dword [esp], 0x5db1c0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0043c470
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, esi
inc esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x80], ecx
jmp 0x52d3b5
mov eax, 1
jmp 0x52d397
mov dword [eax], eax
jmp 0x52d328
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
jmp 0x52d0c7
mov eax, 1
jmp 0x52d13f
mov dword [eax], eax
jmp 0x52d0de
mov dword [edx], eax
jmp 0x52d071
call fcn.004288f0
ud2
call fcn.00450fb0
jmp fcn.0052cf30