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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x34], eax
xor ebx, ebx
mov eax, dword [edx]
push esi
mov esi, dword [edx + 4]
push edi
movss xmm0, dword [eax + 4]
xor edi, edi
mov dword [esp + 0x30], edx
comiss xmm0, dword [esi + 4]
mov dword [esp + 0x1c], ecx
jbe 0x10266365
lea edi, [ebx + 1]
jmp 0x1026636a
mov ebx, 1
mov eax, dword [edx + 8]
movss xmm1, dword [eax + 4]
mov eax, dword [edx + edi*4]
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jbe 0x10266386
mov edi, 2
jmp 0x10266395
mov eax, dword [edx + ebx*4]
mov esi, 2
comiss xmm1, dword [eax + 4]
cmova ebx, esi
mov eax, dword [edx + edi*4]
mov dword [esp + 0x38], eax
movss xmm0, dword [eax + 4]
lea eax, [edx + ebx*4]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
movss xmm2, dword [eax + 4]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x102666f6
mov esi, dword [esp + 0x3c]
movd xmm1, dword [esi + 4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
ja 0x102666f6
movd xmm2, dword [esi + 0xc]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x102666f6
mov ecx, dword [ecx + 8]
xor ebx, edi
xor ebx, 3
mov edx, ecx
cmp dword [esi], ecx
mov dword [esp + 0x40], ebx
cmovg edx, dword [esi]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
add edx, ecx
cmp dword [esi + 8], edx
cmovl edx, dword [esi + 8]
comiss xmm1, xmm0
mov dword [esp + 0x34], edx
ja 0x10266415
movaps xmm1, xmm0
cvtps2pd xmm0, xmm1
sub esp, 8
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call sub.MSVCR120.dll_ceil
mov edi, dword [esp + 0x38]
add esp, 8
movd xmm0, dword [esi + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + ebx*4]
fstp dword [esp + 0x28]
movss xmm1, dword [eax + 4]
comiss xmm1, xmm0
ja 0x10266450
movaps xmm0, xmm1
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call sub.MSVCR120.dll_ceil
mov esi, dword [ebp + 8]
lea eax, [esp + 0xa8]
mov edx, dword [esp + 0x2c]
sub esi, 2
movss xmm7, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
movaps xmm3, xmm7
push esi
mov edx, dword [edx]
push eax
fstp dword [esp + 0x20]
movss dword [esp + 0x38], xmm7
call fcn.10266270
movss xmm0, dword [esp + 0x20]
add esp, 0x10
comiss xmm0, xmm7
jbe 0x10266598
mov edx, dword [edi + ebx*4]
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x38]
movaps xmm3, xmm7
push esi
push eax
call fcn.10266270
movss xmm0, dword [esp + 0x50]
add esp, 8
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x54]
mov ecx, ebx
push eax
lea eax, [esp + 0xb0]
push eax
cvttss2si eax, xmm0
push edi
push dword [esp + 0x30]
cvttss2si edx, xmm7
push eax
cvttss2si eax, dword [esp + 0xb8]
push eax
call fcn.10265f50
movss xmm0, dword [esp + 0xc0]
add esp, 0x1c
addss xmm0, dword [esp + 0xa0]
xor ecx, ecx
movss dword [esp + 0xa0], xmm0
test esi, esi
jle 0x10266543
jmp 0x10266530
mov eax, dword [esp + ecx*4 + 0xd0]
add dword [esp + ecx*4 + 0xa8], eax
inc ecx
cmp ecx, esi
jl 0x10266530
movss xmm0, dword [esp + 0x4c]
xor ecx, ecx
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x48], xmm0
test esi, esi
jle 0x10266573
jmp 0x10266560
mov eax, dword [esp + ecx*4 + 0x78]
add dword [esp + ecx*4 + 0x50], eax
inc ecx
cmp ecx, esi
jl 0x10266560
movss xmm0, dword [esp + 0x48]
addss xmm7, dword [0x10588970]
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm7
ja 0x102664d1
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
movss dword [esp + 0x28], xmm7
mov eax, dword [esp + 0x3c]
movd xmm0, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
movss xmm1, dword [eax + 4]
comiss xmm1, xmm0
ja 0x102665b7
movaps xmm0, xmm1
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
fstp qword [esp]
call sub.MSVCR120.dll_ceil
movss xmm7, dword [esp + 0x30]
add esp, 8
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm7
jbe 0x102666f6
mov ecx, dword [edi + ebx*4]
lea eax, [esp + 0x48]
push esi
push eax
mov eax, dword [esp + 0x2c]
movaps xmm3, xmm7
mov edx, dword [eax]
call fcn.10266270
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x58]
mov edi, dword [esp + 0x24]
mov ecx, edi
push esi
push eax
lea eax, [esp + 0xb8]
push eax
cvttss2si eax, dword [esp + 0x5c]
push ebx
push dword [esp + 0x38]
cvttss2si edx, xmm7
push eax
cvttss2si eax, dword [esp + 0xc0]
push eax
call fcn.10265f50
addss xmm7, dword [0x10588970]
add esp, 0x24
comiss xmm7, dword [esp + 0x10]
jae 0x102666f6
nop
movss xmm1, dword [esp + 0xa4]
xor ecx, ecx
addss xmm1, dword [esp + 0xa0]
movss dword [esp + 0xa0], xmm1
test esi, esi
jle 0x1026668d
mov eax, dword [esp + ecx*4 + 0xd0]
add dword [esp + ecx*4 + 0xa8], eax
inc ecx
cmp ecx, esi
jl 0x10266671
movss xmm1, dword [esp + 0xa0]
movss xmm0, dword [esp + 0x4c]
xor ecx, ecx
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x48], xmm0
test esi, esi
jle 0x102666b8
mov eax, dword [esp + ecx*4 + 0x78]
add dword [esp + ecx*4 + 0x50], eax
inc ecx
cmp ecx, esi
jl 0x102666a5
movss xmm0, dword [esp + 0x48]
push esi
lea eax, [esp + 0x54]
mov ecx, edi
push eax
lea eax, [esp + 0xb0]
push eax
cvttss2si eax, xmm0
push ebx
push dword [esp + 0x30]
cvttss2si edx, xmm7
push eax
cvttss2si eax, xmm1
push eax
call fcn.10265f50
addss xmm7, dword [0x10588970]
add esp, 0x1c
comiss xmm7, dword [esp + 0x10]
jb 0x10266650
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret