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

Disassembly:
push 0xffffffffffffffff
push 0x546a0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call fcn.00537a60
test eax, eax
mov dword [esp + 0x24], eax
je 0x53b148
mov eax, dword [esp + 0xe8]
xor edx, edx
mov ecx, eax
mov edi, dword [esp + 0xe4]
and ecx, 0x1e
mov ebx, dword [esp + 0xe0]
cmp ecx, eax
sete dl
mov esi, edx
test esi, esi
jne 0x53a8b5
push edi
push ebx
mov ecx, ebp
call fcn.0053b720
test eax, eax
jne 0x53a8b5
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x53b148
push eax
call dword [0x549618]
jmp 0x53b148
lea ecx, [esp + 0x88]
call fcn.00536af0
mov ecx, dword [esp + 0x24]
push 1
push edi
lea eax, [esp + 0x90]
push ebx
push eax
mov dword [esp + 0xdc], 0
call fcn.00534e10
cmp esi, 1
push edi
jne 0x53a900
mov ecx, ebp
call fcn.00537590
push ebx
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.005374b0
mov dword [esp + 0x30], eax
jmp 0x53a91c
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, ebp
call fcn.0053b4b0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x88]
call fcn.00536bd0
mov edi, eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x44], eax
and edi, 0xf
call fcn.00536c40
mov ebx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
add ecx, edx
add eax, ebx
mov esi, ebx
mov ebp, eax
mov eax, dword [esp + 0xf0]
test eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
je 0x53a985
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebp
lea ecx, [esp + 0x88]
call fcn.00536bf0
mov ebp, eax
cmp ebp, 0xff000000
mov dword [esp + 0x14], ebp
jne 0x53a9aa
mov edx, dword [esp + 0x20]
mov ebp, dword [edx + 0x40]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x53a9e7
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00534df0
cmp dword [esp + 0xe0], eax
jl 0x53a9d9
mov ecx, esi
call fcn.00534e00
cmp dword [esp + 0xe4], eax
jge 0x53a9e7
push 0xf
call dword [0x54950c]
mov ebp, eax
mov dword [esp + 0x14], ebp
mov al, byte [esp + 0xe8]
mov esi, dword [esp + 0xd4]
test al, 0x20
je 0x53aa82
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], edx
test eax, eax
mov dword [esp + 0x60], ecx
je 0x53aa39
push eax
lea edx, [esp + 0x58]
lea eax, [esp + 0x58]
push edx
push eax
call dword [0x5494e8]
push ebp
lea ecx, [esp + 0x1c]
call 0x5b047a
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
call dword [0x549590]
mov dword [esp + 0x18], 0x5d6540
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 1
call 0x5b0414
mov byte [esp + 0xcc], 0
test byte [esp + 0xe8], 1
je 0x53b0fc
lea ecx, [esp + 0x88]
call fcn.00536ba0
test eax, eax
jne 0x53ad6b
mov eax, dword [esp + 0x44]
test ah, 7
je 0x53abbc
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [eax + 0x3c]
push ecx
mov ecx, dword [eax + 0x6c]
invalid
stc