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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x94
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, eax
movsx eax, word [esi + 0x70]
mov dword [esp + 0x14], eax
push edx
movss dword [ebx + 8], xmm0
movss dword [ebx + 4], xmm0
movss dword [ebx], xmm0
lea edx, [esp + 0x74]
xor eax, eax
movss dword [ecx], xmm0
call fcn.005a0830
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
dec eax
push ecx
lea edx, [esp + 0x44]
call fcn.005a0830
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
push edx
push esi
lea eax, [esp + 0x28]
call fcn.005a0890
mov eax, dword [edi]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
movss xmm0, dword [edi]
addss xmm0, dword [ebp + 0x10]
dec ecx
cvtsi2ss xmm1, ecx
comiss xmm0, xmm1
movss dword [edi], xmm0
jb 0x59fd5b
movss xmm0, dword [edi]
subss xmm0, xmm1
movss dword [edi], xmm0
movsx ecx, word [esi + 0x72]
cvtsi2ss xmm2, ecx
addss xmm2, xmm0
movss dword [edi], xmm2
inc dword [eax]
movss xmm0, dword [edi]
comiss xmm0, xmm1
jae 0x59fd34
mov ecx, dword [ebp + 8]
test byte [ecx + 0x30], 1
jne 0x59fd98
cmp dword [eax], 0
jg 0x59fd7d
mov ecx, dword [esp + 0x14]
movss xmm1, dword [edi]
add ecx, 0xfffffffe
cvtsi2ss xmm0, ecx
comiss xmm1, xmm0
jb 0x59fd98
mov ecx, dword [esp + 0x14]
mov dword [edx], 0
add ecx, 0xfffffffe
mov dword [eax], 0
cvtsi2ss xmm0, ecx
movss dword [edi], xmm0
mov edx, dword [edx]
mov eax, dword [eax]
cmp edx, eax
jge 0x59ff10
sub eax, edx
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
movss xmm3, dword [ebx]
movss xmm1, dword [esp + 0x50]
subss xmm1, dword [esp + 0x30]
movss xmm2, dword [esp + 0x54]
subss xmm2, dword [esp + 0x34]
movss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x38]
addss xmm3, xmm1
movss dword [ebx], xmm3
movss xmm1, dword [ebx + 4]
addss xmm1, xmm2
movss dword [ebx + 4], xmm1
addss xmm0, dword [ebx + 8]
lea esi, [esp + 0x94]
lea eax, [esp + 0x20]
movss dword [ebx + 8], xmm0
call fcn.0043ef80
movss xmm0, dword [eax + 4]
lea esi, [esp + 0x64]
lea eax, [esp + 0x40]
movss dword [esp + 0x18], xmm0
call fcn.0043ef80
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x738a68]
comiss xmm0, dword [0x738bec]
movss dword [esp + 0x14], xmm0
ja 0x59fe4f
movss xmm1, dword [0x738be8]
comiss xmm1, xmm0
jbe 0x59fe68
fld dword [esp + 0x14]
fld qword [0x738be0]
call fcn.006dab4a
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x738bb8]
comiss xmm0, xmm1
jb 0x59fe7e
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x59fe75
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x59fe8f
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x59fe86
subss xmm0, dword [0x738a68]
mov eax, dword [ebp + 0x24]
addss xmm0, dword [eax]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x70]
mov eax, dword [esp + 0x84]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x78]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x8c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x7c]
dec eax
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], eax
jne 0x59fdb0
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
push eax
push esi
lea eax, [esp + 0x48]
call fcn.005a0890
movss xmm3, dword [ebx]
movss xmm1, dword [esp + 0x50]
subss xmm1, dword [esp + 0x30]
movss xmm2, dword [esp + 0x54]
subss xmm2, dword [esp + 0x34]
movss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x38]
addss xmm3, xmm1
movss dword [ebx], xmm3
movss xmm1, dword [ebx + 4]
addss xmm1, xmm2
movss dword [ebx + 4], xmm1
addss xmm0, dword [ebx + 8]
lea esi, [esp + 0x64]
lea eax, [esp + 0x20]
movss dword [ebx + 8], xmm0
call fcn.0043ef80
movss xmm0, dword [eax + 4]
lea esi, [esp + 0x94]
lea eax, [esp + 0x40]
movss dword [esp + 0x18], xmm0
call fcn.0043ef80
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x18]
movss xmm3, dword [0x738a68]
addss xmm0, xmm3
comiss xmm0, dword [0x738bec]
movss dword [esp + 0x14], xmm0
ja 0x59ffc3
movss xmm1, dword [0x738be8]
comiss xmm1, xmm0
jbe 0x59ffe4
fld dword [esp + 0x14]
fld qword [0x738be0]
call fcn.006dab4a
movss xmm3, dword [0x738a68]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x738bb8]
comiss xmm0, xmm1
jb 0x59fffa
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x59fff1
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x5a000b
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x5a0002
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 8]
subss xmm0, xmm3
addss xmm0, dword [eax]
movss dword [eax], xmm0
test byte [edi + 0x30], 4
jne 0x5a002c
movss dword [ebx + 8], xmm2
movss dword [ebx], xmm2
test byte [edi + 0x30], 8
jne 0x5a0037
movss dword [ebx + 4], xmm2
test byte [edi + 0x30], 2
jne 0x5a0041
movss dword [eax], xmm2
test byte [edi + 0x30], 0x10
movss xmm0, dword [edi + 0x38]
addss xmm0, xmm3
movss dword [esp + 0x14], xmm0
je 0x5a00a9
lea esi, [esp + 0x64]
lea eax, [esp + 0x40]
call fcn.0043ef80
movss xmm0, dword [eax + 4]
cmp dword [edi + 0x34], 0xffffffff
movss dword [esp + 0x18], xmm0
je 0x5a007e
addss xmm0, dword [0x738a68]
jmp 0x5a0096
lea esi, [esp + 0x64]
lea eax, [esp + 0x70]
call fcn.0043ef80
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [eax + 4]
movss xmm1, dword [esp + 0x14]
mov eax, dword [ebp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
movss xmm0, dword [edi + 0x38]
addss xmm0, dword [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
movss dword [edi + 0x38], xmm0
call fcn.00403f60
movss xmm1, dword [ebx]
movss xmm0, dword [ebx + 8]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
add esp, 0xc
movaps xmm5, xmm0
movaps xmm4, xmm1
pop edi
mulss xmm4, xmm2
mulss xmm5, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm4, xmm5
subss xmm0, xmm1
pop esi
movss dword [ebx], xmm4
movss dword [ebx + 8], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 0x20