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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x1c]
push ebx
mov ebx, dword [0x91a344]
push esi
shl edx, 4
movss xmm1, dword [edx + ebx + 4]
push edi
mov edi, dword [ecx + 4]
mov esi, dword [edi + 0x18]
lea eax, [edx + ebx + 4]
lea eax, [esi - 1]
cmp eax, 4
movaps xmm0, xmm1
mov edx, 1
jl 0x59d062
mov ecx, dword [edi + 0x1c]
shl ecx, 4
lea eax, [ecx + ebx + 0x24]
lea ecx, [esi - 5]
shr ecx, 2
inc ecx
lea edx, [ecx*4 + 1]
comiss xmm1, dword [eax - 0x10]
jbe 0x59d004
movss xmm1, dword [eax - 0x10]
jmp 0x59d011
movss xmm2, dword [eax - 0x10]
comiss xmm2, xmm0
jbe 0x59d011
movaps xmm0, xmm2
comiss xmm1, dword [eax]
jbe 0x59d01c
movss xmm1, dword [eax]
jmp 0x59d028
movss xmm2, dword [eax]
comiss xmm2, xmm0
jbe 0x59d028
movaps xmm0, xmm2
comiss xmm1, dword [eax + 0x10]
jbe 0x59d035
movss xmm1, dword [eax + 0x10]
jmp 0x59d042
movss xmm2, dword [eax + 0x10]
comiss xmm2, xmm0
jbe 0x59d042
movaps xmm0, xmm2
comiss xmm1, dword [eax + 0x20]
jbe 0x59d04f
movss xmm1, dword [eax + 0x20]
jmp 0x59d05c
movss xmm2, dword [eax + 0x20]
comiss xmm2, xmm0
jbe 0x59d05c
movaps xmm0, xmm2
add eax, 0x40
dec ecx
jne 0x59cff7
cmp edx, esi
jge 0x59d093
mov eax, dword [edi + 0x1c]
add eax, edx
shl eax, 4
mov ecx, esi
lea eax, [eax + ebx + 4]
sub ecx, edx
comiss xmm1, dword [eax]
jbe 0x59d081
movss xmm1, dword [eax]
jmp 0x59d08d
movss xmm2, dword [eax]
comiss xmm2, xmm0
jbe 0x59d08d
movaps xmm0, xmm2
add eax, 0x10
dec ecx
jne 0x59d076
mov eax, dword [ebp + 8]
movss xmm2, dword [0x738ab0]
movss xmm3, dword [eax + 4]
addss xmm0, xmm2
comiss xmm3, xmm0
ja 0x59d300
subss xmm1, xmm2
comiss xmm1, xmm3
ja 0x59d300
mov ecx, 1
cmp esi, ecx
jle 0x59d2f2
mov edx, dword [edi + 0x1c]
mov edi, dword [esp + 0x3c]
xorps xmm5, xmm5
shl edx, 4
lea eax, [edx + ebx + 8]
mov edx, dword [esp + 0x2c]
nop
movss xmm0, dword [eax - 8]
movss dword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x20]
movss xmm0, dword [eax - 4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
movss xmm1, dword [esp + 0x10]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 8]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
movss xmm2, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
movss dword [esp + 0x30], xmm0
mov ebx, dword [esp + 0x30]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x10]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x34]
movss xmm4, dword [esp + 0x40]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x38]
movss xmm6, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
movss xmm7, dword [esp + 0x48]
subss xmm0, xmm7
subss xmm7, dword [esp + 0x18]
subss xmm2, xmm6
subss xmm6, dword [esp + 0x14]
mulss xmm2, xmm5
subss xmm1, xmm4
subss xmm4, dword [esp + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm0
movss dword [esp + 0x50], xmm3
mov ebx, dword [esp + 0x50]
mulss xmm0, xmm5
movaps xmm3, xmm1
mulss xmm3, xmm5
subss xmm0, xmm3
movss dword [esp + 0x54], xmm0
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x54]
subss xmm1, xmm2
movss dword [esp + 0x58], xmm1
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x5c]
movaps xmm0, xmm7
mov dword [esp + 0x7c], ebx
mov ebx, dword [ebp + 8]
movss xmm2, dword [ebx + 4]
movss xmm3, dword [ebx + 8]
subss xmm2, dword [esp + 0x14]
subss xmm3, dword [esp + 0x18]
movss xmm1, dword [ebx]
subss xmm1, dword [esp + 0x10]
movss dword [esp + 0x68], xmm7
mulss xmm0, xmm3
movaps xmm7, xmm6
mulss xmm7, xmm2
addss xmm0, xmm7
movaps xmm7, xmm4
mulss xmm7, xmm1
addss xmm0, xmm7
comiss xmm0, xmm5
mov dword [esp + 0x1c], edx
mov dword [esp + 0x4c], edi
movss dword [esp + 0x64], xmm6
jbe 0x59d2b2
movaps xmm7, xmm4
mulss xmm7, xmm4
movss dword [esp + 0xc], xmm7
movaps xmm7, xmm6
mulss xmm7, xmm6
movss xmm6, dword [esp + 0xc]
addss xmm6, xmm7
movss dword [esp + 0xc], xmm6
movss xmm6, dword [esp + 0x68]
movaps xmm7, xmm6
mulss xmm7, xmm6
movss xmm6, dword [esp + 0xc]
addss xmm6, xmm7
comiss xmm0, xmm6
jb 0x59d28a
subss xmm2, dword [esp + 0x64]
subss xmm3, dword [esp + 0x68]
jmp 0x59d2ae
movss xmm7, dword [esp + 0x68]
divss xmm0, xmm6
movss xmm6, dword [esp + 0x64]
mulss xmm6, xmm0
mulss xmm7, xmm0
mulss xmm4, xmm0
subss xmm2, xmm6
subss xmm3, xmm7
subss xmm1, xmm4
movaps xmm4, xmm5
subss xmm4, xmm1
mulss xmm4, dword [esp + 0x70]
movaps xmm1, xmm5
movaps xmm0, xmm5
subss xmm0, xmm3
mulss xmm0, dword [esp + 0x78]
subss xmm1, xmm2
mulss xmm1, dword [esp + 0x74]
addss xmm0, xmm1
addss xmm0, xmm4
comiss xmm5, xmm0
jae 0x59d300
inc ecx
add eax, 0x10
cmp ecx, esi
jl 0x59d0e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4