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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
movss xmm5, dword [0x1018a9dc]
sub esp, 0x30
push esi
push edi
mov edi, dword [0x101b6fa8]
movss xmm1, dword [edi + 0xe4]
lea ecx, [edi + 0xe4]
comiss xmm1, xmm5
movss xmm0, dword [ecx + 4]
jb 0x1007f675
comiss xmm0, xmm5
jb 0x1007f675
cvttss2si eax, xmm1
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f54], xmm1
movss dword [edi + 0x1f58], xmm0
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
mov eax, ecx
test ecx, ecx
jne 0x1007f681
lea eax, [edi + 0xe4]
movss xmm0, dword [eax]
xorps xmm4, xmm4
comiss xmm0, xmm5
movss xmm1, dword [eax + 4]
jb 0x1007f6d0
comiss xmm1, xmm5
jb 0x1007f6d0
lea eax, [edi + 0x380]
mov edx, eax
test eax, eax
jne 0x1007f6a9
lea edx, [edi + 0xe4]
movss xmm0, dword [edx]
comiss xmm0, xmm5
movss xmm1, dword [edx + 4]
jb 0x1007f6d0
comiss xmm1, xmm5
jb 0x1007f6d0
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
jmp 0x1007f6d6
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [edi + 0x374], xmm0
movss dword [edi + 0x378], xmm1
movss xmm0, dword [edi + 0x374]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1007f703
movaps xmm0, xmm1
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1007f70a
mov byte [edi + 0x1d53], 0
mov eax, dword [ecx]
lea edx, [edi + 0xec]
mov ecx, dword [ecx + 4]
lea esi, [edi + 0x38c]
movss xmm7, dword [0x1018ac10]
movss xmm6, dword [0x1018a9c0]
mov dword [edi + 0x380], eax
lea eax, [edi + 0x3f4]
mov dword [edi + 0x384], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 5
mov cl, byte [edx]
mov byte [ebp - 1], cl
test cl, cl
je 0x1007f75e
comiss xmm4, dword [eax]
jbe 0x1007f75e
mov byte [edx + 0x2ec], 1
jmp 0x1007f778
cmp byte [ebp - 1], 0
mov byte [edx + 0x2ec], 0
jne 0x1007f778
movss xmm0, dword [eax]
comiss xmm0, xmm4
mov byte [ebp - 1], 1
jae 0x1007f77c
mov byte [ebp - 1], 0
mov cl, byte [ebp - 1]
mov byte [edx + 0x2f6], cl
movss xmm0, dword [eax]
movss dword [eax + 0x14], xmm0
cmp byte [edx], 0
je 0x1007f7a4
comiss xmm4, xmm0
jbe 0x1007f79d
movaps xmm0, xmm4
jmp 0x1007f7a7
addss xmm0, dword [edi + 0x18]
jmp 0x1007f7a7
movaps xmm0, xmm6
movss dword [eax], xmm0
lea ecx, [edi + 0xe4]
cmp byte [edx + 0x2ec], 0
mov byte [edx + 0x2f1], 0
je 0x1007f8b3
movsd xmm2, qword [edi + 0x1b30]
movaps xmm0, xmm2
subsd xmm0, qword [esi + 0x24]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [edi + 0x28]
comiss xmm0, xmm1
jbe 0x1007f875
mov eax, ecx
test ecx, ecx
jne 0x1007f7f3
lea eax, [edi + 0xe4]
movss xmm0, dword [eax]
comiss xmm0, xmm5
movss xmm1, dword [eax + 4]
jb 0x1007f827
comiss xmm1, xmm5
jb 0x1007f827
movss xmm0, dword [ecx]
lea eax, [ebp - 0x18]
subss xmm0, dword [esi - 4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi]
movss dword [ebp - 0x14], xmm0
jmp 0x1007f838
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
movss xmm0, dword [edi + 0x2c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
comiss xmm0, xmm2
jbe 0x1007f862
mov byte [edx + 0x2f1], 1
movss xmm0, dword [edi + 0x28]
xorps xmm2, xmm2
xorps xmm0, xmm7
addss xmm0, xmm0
cvtss2sd xmm2, xmm0
movsd qword [esi + 0x24], xmm2
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi - 4], eax
mov dword [esi], ecx
mov al, byte [edx + 0x2f1]
mov byte [edx + 0x300], al
mov eax, dword [ebp - 8]
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [eax + 0x50], 0
jmp 0x1007f97b
cmp byte [edx], 0
je 0x1007f980
test ecx, ecx
je 0x1007f8c5
mov dword [ebp - 0xc], ecx
jmp 0x1007f8ce
lea eax, [edi + 0xe4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movss xmm0, dword [eax]
comiss xmm0, xmm5
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 8]
jb 0x1007f908
comiss xmm1, xmm5
jb 0x1007f908
movss xmm0, dword [ecx]
subss xmm0, dword [esi - 4]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ecx + 4]
lea ecx, [ebp - 0x28]
subss xmm0, dword [esi]
movss dword [ebp - 0x24], xmm0
jmp 0x1007f919
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
movss xmm2, dword [ecx]
movss xmm3, dword [ecx + 4]
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mov dword [ebp - 0xc], ecx
andps xmm2, xmmword [0x1018abe0]
mulss xmm1, xmm3
andps xmm3, xmmword [0x1018abe0]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x50]
maxss xmm0, xmm1
movss dword [eax + 0x50], xmm0
movss xmm0, dword [esi + 0x90]
maxss xmm0, xmm2
movss dword [esi + 0x90], xmm0
movss xmm0, dword [esi + 0x94]
maxss xmm0, xmm3
movss dword [esi + 0x94], xmm0
cmp byte [edx], 0
jne 0x1007f990
cmp byte [edx + 0x2f6], 0
jne 0x1007f990
mov byte [edx + 0x300], 0
cmp byte [edx + 0x2ec], 0
je 0x1007f9a0
mov byte [edi + 0x1d53], 0
add eax, 4
add esi, 8
inc edx
mov dword [ebp - 8], eax
sub dword [ebp - 0x10], 1
jne 0x1007f747
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret