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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x53a399
sub esp, 0xa8
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0044dd64
lea ecx, [0x7e61c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call fcn.00407350
jmp 0x53a04a
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.00407630
mov eax, dword [esp + 0x78]
test eax, eax
je 0x53a2fa
mov ecx, dword [esp + 0x7c]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ebx, dword [ecx + 4]
mov dword [esp + 0x38], ebx
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0053a540
movzx eax, byte [esp + 8]
test al, al
je 0x53a26e
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.004ae210
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, eax
and eax, 0x1f
cmp eax, 0x13
jne 0x53a30f
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004ad6c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0053a480
movzx eax, byte [esp + 8]
test al, al
je 0x53a178
lea eax, [0x7d75c0]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
call fcn.00409eb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x53a14b
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x53a03e
mov dword [esp + 0x3c], edx
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0040f360
jmp 0x53a03e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004ad6c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040c380
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [0x7cf560]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040c290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x8604cf]
mov dword [esp], eax
mov dword [esp + 4], 0x30
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9f00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x53a301
mov eax, dword [eax + 4]
jmp 0x53a301
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040c380
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x85e150]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b9f00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x53a38b
mov eax, dword [eax + 4]
jmp 0x53a38b
add esp, 0xa8
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004278c0
ud2
mov dword [esp], 0
lea eax, [0x84a68a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [0x84cf59]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xf
call fcn.0043cf40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0040c380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004278c0
ud2
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004278c0
ud2
call fcn.0044c200
jmp fcn.00539ff0