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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52c45a
sub esp, 0x30
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
test eax, eax
je 0x52c1ef
test ecx, ecx
je 0x52c1ef
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x9c]
xor ebx, ebx
jmp 0x52c408
mov eax, dword [0x7b66b0]
mov ecx, dword [esp + 0x9c]
cmp dword [0x7b66b4], ecx
jne 0x52c250
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
je 0x52c249
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x52c23d
movzx eax, byte [esp + 0x3c]
mov byte [esp], al
call fcn.0052ca70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x9c]
jmp 0x52c36e
mov ecx, dword [esp + 0x9c]
mov eax, dword [0x7b66e8]
cmp dword [0x7b66ec], ecx
jne 0x52c2ba
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
je 0x52c2b3
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x52c2a7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], dl
call fcn.0052c590
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
jmp 0x52c36e
mov ecx, dword [esp + 0x9c]
mov eax, dword [0x7b66d8]
cmp dword [0x7b66dc], ecx
jne 0x52c306
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
je 0x52c2ff
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x52c2f6
lea eax, [0x6342fc]
mov ecx, dword [esp + 0x9c]
jmp 0x52c36e
mov ecx, dword [esp + 0x9c]
mov eax, dword [0x7b6680]
cmp dword [0x7b6684], ecx
jne 0x52c35d
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
je 0x52c356
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x52c34d
movzx eax, byte [esp + 0x3c]
mov byte [esp], al
call fcn.0052cff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x9c]
jmp 0x52c36e
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x52c36e
lea eax, [0x6342f8]
mov dword [esp + 0x28], eax
lea edx, [0x5f2420]
mov dword [esp], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0040f7c0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x52c403
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + 4]
sub ebx, dword [edx + 0xc]
test ebx, ebx
jle 0x52c3f3
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp], edx
mov byte [esp + 4], 0x20
call fcn.004a68c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a63b0
add esp, 0x30
ret
inc ebx
cmp ebx, ecx
jge 0x52c1ef
lea ebp, [eax + ebx*8]
mov esi, dword [ebp + 4]
mov ebp, dword [ebp]
cmp edx, esi
jne 0x52c407
mov dword [esp + 0x1c], ebx
mov dword [esp], ebp
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52c456
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x1c]
jmp 0x52c407
add esp, 0x30
ret
call fcn.00462450
jmp fcn.0052c1b0