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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0xc]
xorps xmm5, xmm5
push ebx
push esi
push edi
mov edi, dword [edx + 0xc]
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
test edi, edi
jle 0x1026b383
lea ecx, [edx + 0xa4]
lea esi, [edx + 0x20]
mov dword [esp + 0x24], ecx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x3c]
sub edx, eax
mov dword [ebp + 8], edx
movss xmm4, dword [esi - 4]
lea eax, [esp + 0x3c]
movss xmm3, dword [esi]
lea eax, [eax + ebx*4]
movss xmm2, dword [eax + edx]
comiss xmm2, xmm4
jbe 0x1026b275
comiss xmm3, xmm2
ja 0x1026b278
movaps xmm2, xmm3
jmp 0x1026b278
movaps xmm2, xmm4
movss xmm0, dword [esi + 0xa4]
movss xmm1, dword [esi + 0xa8]
ucomiss xmm4, xmm3
movss dword [esp + 0x1c], xmm0
lahf
test ah, 0x44
jnp 0x1026b2c1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1026b2bb
subss xmm1, xmm0
subss xmm2, xmm4
subss xmm3, xmm4
mulss xmm1, xmm2
divss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x1c], xmm0
mov eax, dword [ecx]
dec eax
comiss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jbe 0x1026b2da
comiss xmm1, xmm0
ja 0x1026b2e3
movaps xmm0, xmm1
jmp 0x1026b2dd
movaps xmm0, xmm5
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call sub.MSVCR120.dll_floor
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x24]
cvtps2pd xmm0, xmm0
mov dword [esp + ebx*4 + 0x44], eax
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call sub.MSVCR120.dll_ceil
movss xmm1, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x24]
add esi, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add ecx, 4
mov edx, dword [ebp + 8]
xorps xmm5, xmm5
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x24], ecx
cvttss2si eax, xmm0
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
mov dword [esp + ebx*4 + 0x5c], eax
subss xmm1, xmm0
movss dword [esp + ebx*4 + 0x9c], xmm1
inc ebx
cmp ebx, edi
jl 0x1026b251
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x7c], eax
cmp edi, ecx
jle 0x1026b3bc
add edx, 0xa4
lea ecx, [ecx]
mov eax, dword [esp + ecx*4 + 0x78]
lea edx, [edx + 4]
imul eax, dword [edx - 4]
mov dword [esp + ecx*4 + 0x7c], eax
inc ecx
cmp ecx, edi
jl 0x1026b3a0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x1026b64b
movss xmm7, dword [esp + 0xa0]
lea ebx, [edx + 0x108]
movss xmm6, dword [esp + 0x9c]
mov edi, edi
mov esi, dword [edx + 0xc]
cmp esi, 1
jne 0x1026b477
mov ecx, dword [edx + 0x10]
mov eax, ecx
imul eax, dword [esp + 0x3c]
movss xmm1, dword [ebx - 4]
movss xmm2, dword [ebx]
mov esi, dword [edx + 0x144]
add eax, edi
ucomiss xmm1, xmm2
movss xmm3, dword [esi + eax*4]
lahf
test ah, 0x44
jnp 0x1026b440
imul ecx, dword [esp + 0x5c]
subss xmm2, xmm1
add ecx, edi
movss xmm0, dword [esi + ecx*4]
subss xmm0, xmm3
mulss xmm0, xmm6
addss xmm0, xmm3
subss xmm0, xmm5
mulss xmm0, xmm2
addss xmm0, xmm1
movaps xmm1, xmm0
mov ecx, dword [esp + 0x38]
movss dword [ecx + edi*4], xmm1
movss xmm2, dword [ebx - 0xac]
comiss xmm1, xmm2
movss xmm0, dword [ebx - 0xa8]
jbe 0x1026b46f
comiss xmm0, xmm1
ja 0x1026b633
movaps xmm1, xmm0
jmp 0x1026b633
movaps xmm1, xmm2
jmp 0x1026b633
cmp esi, 2
jne 0x1026b542
mov edx, dword [edx + 0xa4]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
imul edx, eax
imul ecx, eax
mov eax, dword [esp + 0x20]
movss xmm1, dword [ebx - 4]
movss xmm3, dword [ebx]
imul esi, edx
mov eax, dword [eax + 0x144]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
lea eax, [ecx + esi]
mov esi, dword [esp + 0x24]
add eax, edi
movss xmm0, dword [esi + eax*4]
mov eax, dword [esp + 0x60]
imul eax, edx
mov edx, dword [esp + 0x5c]
imul edx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
add eax, ecx
add eax, edi
mov ecx, esi
movss xmm4, dword [ecx + eax*4]
mov eax, dword [esp + 0x30]
add eax, edx
add eax, edi
ucomiss xmm1, xmm3
movss xmm2, dword [ecx + eax*4]
subss xmm2, xmm0
lahf
mulss xmm2, xmm6
addss xmm2, xmm0
test ah, 0x44
jnp 0x1026b604
mov eax, dword [esp + 0x28]
subss xmm3, xmm1
add eax, edx
add eax, edi
movss xmm0, dword [ecx + eax*4]
subss xmm0, xmm4
mulss xmm0, xmm6
addss xmm0, xmm4
subss xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, xmm2
subss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm0
jmp 0x1026b604
mov eax, dword [esp + esi*4 + 0x78]
dec esi
mov dword [esp + 0x30], esi
mov ecx, dword [esp + esi*4 + 0x3c]
mov edx, dword [esp + esi*4 + 0x5c]
imul ecx, eax
imul edx, eax
add ecx, edi
add edx, edi
mov dword [esp + 0x28], edx
test esi, esi
jne 0x1026b57b
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x144]
movss xmm3, dword [eax + ecx*4]
movss xmm0, dword [eax + edx*4]
jmp 0x1026b5d1
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xa0]
dec esi
lea edx, [esp + 0x80]
push esi
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1026b150
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xb0]
add esp, 0x14
lea edx, [esp + 0x7c]
movaps xmm3, xmm0
push dword [esp + 0x28]
push esi
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1026b150
mov esi, dword [esp + 0x44]
add esp, 0x14
movss xmm1, dword [ebx - 4]
movss xmm2, dword [ebx]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1026b604
subss xmm0, xmm3
subss xmm2, xmm1
mulss xmm0, dword [esp + esi*4 + 0x9c]
addss xmm0, xmm3
subss xmm0, xmm5
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [esp + 0x38]
movss dword [ecx + edi*4], xmm1
movss xmm2, dword [ebx - 0xac]
comiss xmm1, xmm2
movss xmm0, dword [ebx - 0xa8]
jbe 0x1026b62c
comiss xmm0, xmm1
ja 0x1026b62f
movaps xmm1, xmm0
jmp 0x1026b62f
movaps xmm1, xmm2
mov edx, dword [esp + 0x20]
movss dword [ecx + edi*4], xmm1
add ebx, 8
mov eax, dword [edx + 0x10]
inc edi
mov dword [esp + 0x1c], eax
cmp edi, eax
jl 0x1026b3e0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret