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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x539d60
sub esp, 0x54
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov ebx, edx
and ebx, 0x200
cmp ebx, 0
je 0x539b54
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0052c910
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 4], ecx
call fcn.00532210
mov eax, dword [esp + 0x6c]
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x539ba4
mov edx, dword [esp + 0x60]
and edx, 0x1e0
movzx ebp, byte [eax + 0xf]
mov ebx, ebp
and ebx, 0x1f
movzx ebp, bl
or ebp, edx
xor ebx, ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebp
add esp, 0x54
ret
mov dword [esp], eax
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
call fcn.00531b10
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x539c8e
mov ebx, dword [esp + 0x70]
xor ebp, ebp
cmp ebx, ebp
jne 0x539be0
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
call fcn.0040f360
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0
call fcn.00537850
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
call fcn.0052ddd0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 4]
cmp ebx, 0
jne 0x539c70
mov ebx, dword [esp + 0x70]
mov dword [ebx], edx
cmp byte [0x6dae38], 0
jne 0x539c5f
mov dword [ebx + 4], ecx
xor ebx, ebx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov eax, 0x94
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
lea esi, [ebx + 4]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040fcf0
jmp 0x539c40
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.0040d1e0
jmp 0x539c40
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
call fcn.0052d540
mov ebx, dword [esp + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
call fcn.0052d540
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp], 0
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, 0x5f96f3
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x10
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], ebx
mov ebx, 0x5fd451
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
call fcn.004409b0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp], 0x5c4e00
lea ebx, [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040c410
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.0042a780
ud2
call fcn.004518d0
jmp fcn.00539ae0