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

Disassembly:
mov ecx, dword [0x6cfe90]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52a9ab
sub esp, 0x50
mov eax, dword [esp + 0x60]
test eax, eax
je 0x52a7c8
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x40]
test edx, edx
je 0x52a7c0
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x52a7ba
or ebx, 0x80
mov ebp, dword [esp + 0x44]
jmp 0x52a7d2
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x52a7d2
mov ecx, dword [esp + 0x64]
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x52a7ef
lea edx, [0x58b0e8]
jmp 0x52a7f5
lea edx, [0x58af14]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0052ab30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x52a888
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
je 0x52a83e
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [0x584bc2]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b3410
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
lea ebx, [0x564cc0]
mov dword [esp], ebx
call fcn.0040ca70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x6cff38]
test ecx, ecx
jne 0x52a8d0
mov ecx, dword [esp + 0x3c]
jmp 0x52a8db
call fcn.00464ab0
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
lea ecx, [0x5b636c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.0052a9c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x52a997
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
je 0x52a94d
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [0x582987]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b3410
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
call fcn.004636b0
jmp fcn.0052a770