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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a7408
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test esi, esi
cmove esi, ebx
mov eax, dword [edi + 0x24]
test al, al
jns 0x58840f
test al, 0x40
jne 0x58840f
mov ecx, edi
call fcn.005732e0
movzx eax, al
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x24]
shr eax, 3
test al, 1
je 0x588721
call fcn.005b4f40
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x88], 1
mov al, 2
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1a]
mov word [esp + 0x18], 0
xchg byte [ecx], al
mov byte [esp + 0x1b], 0
mov dword [esp + 0x88], 2
mov ecx, dword [ebx]
mov al, byte [ebx + 8]
mov byte [esp + 0x18], al
mov dword [esp + 0x50], 0
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x38], eax
sub eax, dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x30]
add eax, 0xfffffffc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x54], 0
mov byte [esp + 0x57], 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x38]
call fcn.005865b0
cmp eax, 6
je 0x58867d
cmp eax, 5
ja case.default.0x5884d0
jmp dword [eax*4 + 0x5887b0]
movss xmm0, dword [esp + 0x58]
lea eax, [esp + 0x10]
push 0
movss dword [esp + 0x28], xmm0
lea ecx, [esp + 0x30]
movss xmm0, dword [esp + 0x60]
push 0
push eax
movss dword [esp + 0x28], xmm0
call fcn.005b4b80
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], 0
mov eax, dword [eax + 0x28]
push 0
mov dword [esp + 0x1c], eax
call fcn.005b5740
movss xmm0, dword [esp + 0x24]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [eax + 4], xmm0
lea ecx, [esp + 0x1a]
mov byte [esp + 0x19], 0
mov al, 2
xchg byte [ecx], al
jmp case.default.0x5884d0
movss xmm0, dword [esp + 0x60]
lea ecx, [esp + 0x10]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x24], xmm0
call fcn.00586ac0
push 0
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp], 0
push 1
call fcn.005b5740
movss xmm0, dword [esp + 0x1c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x24]
jmp 0x58852f
push edi
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x60]
push eax
call fcn.005b3ab0
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp], xmm0
sub esp, 8
movss xmm0, dword [esp + 0x78]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp], xmm0
call fcn.00585980
jmp case.default.0x5884d0
mov eax, dword [esp + 0x40]
push edi
push ecx
movss xmm0, dword [eax]
movss dword [esp], xmm0
jmp 0x5885a7
push 2
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.005882d0
add esp, 0xc
jmp case.default.0x5884d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jle 0x588667
mov eax, dword [eax + 0x20]
dec ecx
not ecx
mov al, byte [ecx + eax]
cmp al, 4
ja 0x588667
push 0
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], 0
push 5
call fcn.005b5740
mov ecx, dword [esp + 0x14]
mov eax, ecx
not eax
sar eax, 0x1f
xor ecx, eax
mov dword [esp + 0x14], ecx
jmp case.default.0x5884d0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00588350
push 0
push 0
push esi
lea ecx, [esp + 0x34]
call fcn.005b4b80
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x28]
mov ebx, dword [eax + 0x1c]
mov byte [eax + 0x1a], 0
test byte [edi + 0x24], 0x80
mov dword [esp + 0x20], ecx
je 0x5886c0
mov ecx, edi
call fcn.00573320
mov ecx, dword [esp + 0x20]
movzx eax, al
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x24]
push ecx
and eax, 0xf
push ebx
push ebx
push edi
mov eax, dword [eax*4 + 0x6cde60]
call eax
add esp, 0x10
lea ecx, [esi + 0xa]
mov al, 2
xchg byte [ecx], al
mov dword [esp + 0x88], 0xffffffff
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x588717
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x588717
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x10], 0
jmp 0x58878d
push edi
push dword [ebx]
push esi
call fcn.005b5150
add esp, 0xc
cmp ebx, esi
je 0x588743
mov al, byte [ebx + 8]
mov byte [esi + 8], al
mov al, byte [ebx + 9]
mov byte [esi + 9], al
mov al, byte [ebx + 0xb]
mov byte [esi + 0xb], al
mov al, byte [ebx + 0xa]
cmp al, 2
je 0x588786
movss xmm0, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
mulss xmm0, dword [edi + 4]
mulss xmm1, dword [edi]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x588778
mov al, byte [ebx + 0xa]
movzx eax, al
mov cl, byte [eax*4 + 0x6ce954]
jmp 0x588788
comiss xmm1, xmm0
jbe 0x588782
mov cl, byte [ebx + 0xa]
jmp 0x588788
mov byte [esi + 9], 0
mov cl, 2
lea eax, [esi + 0xa]
xchg byte [eax], cl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 8