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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x539240
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 0x539034
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.0052bdf0
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.005316f0
mov eax, dword [esp + 0x6c]
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x539084
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.00530ff0
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x53916e
mov ebx, dword [esp + 0x70]
xor ebp, ebp
cmp ebx, ebp
jne 0x5390c0
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
call fcn.0040e840
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.00536d30
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.0052d2b0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 4]
cmp ebx, 0
jne 0x539150
mov ebx, dword [esp + 0x70]
mov dword [ebx], edx
cmp byte [0x6d9e38], 0
jne 0x53913f
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.0040f1d0
jmp 0x539120
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.0040c6c0
jmp 0x539120
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
call fcn.0052ca20
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.0052ca20
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, 0x5f86b3
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, 0x5fc3f6
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.0043fe90
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp], 0x5c3f40
lea ebx, [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040b8f0
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.00429c60
ud2
call fcn.00450db0
jmp fcn.00538fc0