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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
push edi
mov dword [esp + 0x18], eax
call fcn.00587a50
mov edx, dword [esp + 0x14]
xorps xmm1, xmm1
movss xmm4, dword [edx]
mulss xmm4, dword [0x6f8778]
comiss xmm1, xmm4
movss dword [esp + 0x24], xmm4
jae 0x5d1ecf
movss xmm0, dword [esi + 0xc]
xor ecx, ecx
subss xmm0, dword [esi + 4]
comiss xmm1, xmm0
movss xmm0, dword [esi + 8]
subss xmm0, dword [esi]
seta cl
xor eax, eax
comiss xmm1, xmm0
seta al
xor ecx, eax
je 0x5d1d00
mov eax, dword [ebp + 0x10]
mov edi, dword [eax*4 + 0x6d18d8]
jmp 0x5d1d03
mov edi, dword [ebp + 0x10]
movdqu xmm2, xmmword [esi]
movaps xmm3, xmm2
shufps xmm3, xmm2, 0xaa
comiss xmm2, xmm3
movdqu xmmword [esp + 0x28], xmm2
movdqu xmmword [esp + 0x40], xmm2
movss dword [esp + 0x28], xmm2
movaps xmmword [esp + 0x50], xmm3
movss dword [esp + 0x30], xmm3
jbe 0x5d1d50
movaps xmm0, xmm2
movaps xmm2, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x28], xmm2
movdqu xmmword [esp + 0x40], xmm2
movaps xmmword [esp + 0x50], xmm3
movss dword [esp + 0x30], xmm3
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x34]
comiss xmm5, xmm6
movss dword [esp + 0x20], xmm5
movss dword [esp + 0x1c], xmm6
jbe 0x5d1d8e
movaps xmm0, xmm5
movaps xmm5, xmm6
movaps xmm6, xmm0
movss dword [esp + 0x20], xmm5
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x34], xmm6
movaps xmm0, xmm3
movzx eax, byte [edx + 0xd]
subss xmm0, xmm2
movaps xmm1, xmm4
xorps xmm1, xmmword [0x6b9350]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm6
subss xmm0, xmm1
movss dword [esp + 0x78], xmm0
test eax, eax
jne 0x5d1e02
movss xmm0, dword [0x6cfae0]
mov ecx, 2
comiss xmm0, dword [edx + 4]
cmova eax, ecx
mov esi, dword [esp + 0x18]
sub eax, 0
je 0x5d1e44
dec eax
je 0x5d1e27
dec eax
jne 0x5d1e72
push edi
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x30]
push eax
push esi
call fcn.005cef00
add esp, 0x10
jmp 0x5d1e51
push edi
sub esp, 8
lea eax, [esp + 0x78]
mov ecx, esi
movss dword [esp + 4], xmm4
movss dword [esp], xmm4
push eax
call fcn.00584dc0
jmp 0x5d1e51
push edi
lea eax, [esp + 0x70]
mov ecx, esi
push eax
call fcn.00584a60
mov edx, dword [esp + 0x14]
movss xmm6, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x20]
movss xmm4, dword [esp + 0x24]
movaps xmm3, xmmword [esp + 0x50]
movdqu xmm2, xmmword [esp + 0x40]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x3c]
comiss xmm1, xmm0
ja 0x5d1e86
movaps xmm0, xmm1
comiss xmm0, dword [edx]
jbe 0x5d1ecf
cmp byte [edx + 0xe], 0
jne 0x5d1ecf
push dword [edi*4 + 0x6d18d8]
addss xmm2, xmm4
mov ecx, esi
addss xmm5, xmm4
subss xmm3, xmm4
subss xmm6, xmm4
lea eax, [esp + 0x70]
push eax
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x78], xmm5
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x80], xmm6
call fcn.00584a60
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0xc