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

Disassembly:
sub esp, 0x44
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x68]
test ebx, ebx
je 0x53f211
push ebp
xor ebp, ebp
mov byte [esp + 0xe], 0
push esi
test eax, eax
je 0x53f00c
mov esi, dword [esp + 0x64]
mov byte [esp + 0x12], 1
test esi, esi
je 0x53f007
cmp esi, 4
jb 0x53f007
push esi
push ebp
push eax
call fcn.0054b440
mov ebp, esi
add esp, 0xc
shr ebp, 2
test ebp, ebp
jne 0x53f00c
mov byte [esp + 0x12], 0
mov dword [ebx], 0
test edi, edi
je 0x53f01c
mov dword [edi], 0
call fcn.005437e0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x53f1f7
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], 0x48
test ecx, ecx
mov dword [esp + 0x14], 1
mov al, 1
mov dword [esp + 0x2c], 0
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
xor ecx, ecx
mov byte [esp + 0x13], al
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0x12], cl
je 0x53f096
cmp byte [esp + 0x68], cl
jne 0x53f096
call fcn.00543af0
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x53f092
mov ecx, 0xfffffffd
xor al, al
mov dword [esp + 0x14], ecx
jmp 0x53f09b
mov al, byte [esp + 0x13]
mov ecx, 1
mov dword [esp + 0x4c], ebx
test al, al
je 0x53f1be
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call edx
test eax, eax
jne 0x53f1a9
cmp byte [esp + 0x68], al
je 0x53f0fe
cmp byte [esp + 0x12], al
je 0x53f0f7
cmp esi, ebp
jae 0x53f0ef
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [ecx + esi*4], eax
test edi, edi
je 0x53f0e8
add dword [edi], 4
mov edx, dword [esp + 0x18]
inc esi
jmp 0x53f0a7
mov dword [esp + 0x14], 2
mov edx, dword [esp + 0x18]
inc esi
jmp 0x53f0a7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x53f191
cmp byte [esp + 0x12], 0
je 0x53f191
cmp esi, ebp
jae 0x53f189
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0
push ecx
push 0x1c
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0
push ecx
push 0
push dword [esp + 0x3c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x44], xmm0
movq qword [esp + 0x54], xmm0
call eax
test eax, eax
jne 0x53f191
cmp dword [esp + 0x4c], eax
je 0x53f191
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [ecx + esi*4], eax
test edi, edi
je 0x53f168
add dword [edi], 4
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
jmp 0x53f191
mov dword [esp + 0x14], 2
test ebx, ebx
je 0x53f19b
push ebx
call fcn.00542870
mov ebx, dword [esp + 0x2c]
inc esi
mov edx, dword [esp + 0x18]
jmp 0x53f0a7
test ebx, ebx
je 0x53f1ba
cmp byte [esp + 0x68], 0
jne 0x53f1ba
push ebx
call fcn.00542870
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [eax], esi
test esi, esi
jne 0x53f1e0
lea eax, [esi - 4]
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0054a992
add esp, 0x44
ret 0x1c
pop esi
pop ebp
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0054a992
add esp, 0x44
ret 0x1c
pop esi
pop ebp
pop edi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0054a992
add esp, 0x44
ret 0x1c
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
pop edi
pop ebx
xor ecx, esp
call fcn.0054a992
add esp, 0x44
ret 0x1c