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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x539440
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 0x539234
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.0052bff0
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.005318f0
mov eax, dword [esp + 0x6c]
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x539284
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.005311f0
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x53936e
mov ebx, dword [esp + 0x70]
xor ebp, ebp
cmp ebx, ebp
jne 0x5392c0
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
call fcn.0040ea40
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.00536f30
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.0052d4b0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 4]
cmp ebx, 0
jne 0x539350
mov ebx, dword [esp + 0x70]
mov dword [ebx], edx
cmp byte [0x6d9e38], 0
jne 0x53933f
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.0040f3d0
jmp 0x539320
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.0040c8c0
jmp 0x539320
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
call fcn.0052cc20
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.0052cc20
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, 0x5f8a73
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, 0x5fc7cd
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.00440090
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp], 0x5c4240
lea ebx, [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040baf0
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.00429e60
ud2
call fcn.00450fb0
jmp fcn.005391c0