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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x100da040]
xor eax, esp
mov dword [esp + 0x144], eax
movss xmm0, dword [0x100e2830]
mov edx, ecx
ucomiss xmm0, dword [0x100cec50]
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0x60], esi
lahf
test ah, 0x44
jnp 0x10028b55
mov cl, 1
jmp 0x10028b57
xor cl, cl
mov byte [edx + 0x65544], cl
mov eax, dword [0x100e27b8]
test eax, eax
jne 0x10029184
mov eax, dword [0x100da2c0]
movq xmm0, qword [0x100da2b8]
push 0x30
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x118]
movzx esi, cl
push 0
push eax
mov dword [esp + 0x1c], esi
movq qword [esp + 0x8c], xmm0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0x11c], 0
movups xmmword [esp + 0xfc], xmm0
add esp, 4
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x108], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100e192c]
mulss xmm0, dword [0x100cec94]
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
call fcn.100bb9a0
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
movss xmm0, dword [esi]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x14], xmm0
call fcn.10023ec0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.10023ef0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x14], xmm0
call fcn.10023ec0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.10023ef0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x14], xmm0
call fcn.10023ec0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.10023ef0
movss xmm3, dword [esp + 0x1c]
movaps xmm2, xmm0
movss xmm4, dword [esp + 0x24]
movaps xmm0, xmm3
movss xmm5, dword [esp + 0x3c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x30]
movss xmm7, dword [esp + 0x2c]
mulss xmm0, xmm4
movaps xmm6, xmm7
mulss xmm6, xmm5
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
movss dword [esp + 0x50], xmm6
movaps xmm6, xmm7
mulss xmm6, xmm3
xorps xmm6, xmmword [0x100cf070]
subss xmm6, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm6
mov ecx, dword [0x100da914]
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x30]
movaps xmm6, xmm3
mulss xmm0, xmm4
mov eax, dword [ecx]
mulss xmm6, xmm1
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
mov eax, dword [eax + 0x754]
mulss xmm0, xmm5
mov dword [esp + 0x14], eax
mulss xmm5, xmm1
mulss xmm2, xmm3
addss xmm6, xmm0
mulss xmm7, xmm4
subss xmm5, xmm2
movss dword [esp + 0x58], xmm6
movss dword [esp + 0x2c], xmm7
movss dword [esp + 0x3c], xmm5
call dword [esp + 0x14]
mov ecx, dword [0x100da914]
fstp dword [esp + 0x4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
xor esi, esi
fstp dword [esp + 0x48]
mov dword [esp + 0x34], esi
nop dword [eax]
mov edi, dword [0x100da914]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x10028f37
cmp dword [eax + 0xf4], 0
je 0x10028f37
mov eax, dword [0x1015d538]
push dword [esp + 0x34]
add eax, 0xffffff97
xor eax, 0x4299eefa
mov esi, dword [eax + edi]
mov eax, dword [0x1015d564]
add eax, 0xffffff8c
xor eax, 0x4299ef05
movss xmm0, dword [eax + edi]
movss dword [esp + 0x70], xmm0
call dword [0x1015d354]
mov eax, dword [0x1015d35c]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp], 0
call dword [esp + 0x1c]
fstp dword [esp + 0x2c]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1015d35c]
mov eax, dword [0x1015d35c]
fstp dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x1c]
fstp dword [esp + 0x24]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1015d35c]
add esp, 8
fstp dword [esp + 0x14]
cmp esi, 0x1c
jne 0x10028ec0
movss xmm3, dword [esp + 0x6c]
movss xmm0, dword [0x100cee28]
comiss xmm0, xmm3
jbe 0x10028ec0
movss xmm1, dword [esp + 0x24]
lea eax, [esi - 0x19]
movss xmm2, dword [esp + 0x1c]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x10028e85
movss xmm0, dword [0x100ced80]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x100ced80]
subss xmm0, xmm2
jmp 0x10028ed2
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x70]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.100bb790
movss xmm3, dword [esp + 0x1c]
movaps xmm5, xmm0
movss xmm2, dword [esp + 0x24]
movaps xmm1, xmm5
mulss xmm3, dword [esp + 0x48]
movaps xmm0, xmm5
mov esi, dword [esp + 0x34]
mulss xmm2, dword [esp + 0x4c]
shufps xmm1, xmm5, 0xe
movaps xmm6, xmm1
shufps xmm5, xmm5, 1
shufps xmm1, xmm1, 1
mulss xmm6, xmm2
mulss xmm0, xmm3
mulss xmm5, xmm3
mulss xmm1, xmm2
addss xmm6, xmm0
addss xmm5, xmm1
jmp 0x10028f3d
xorps xmm6, xmm6
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x50]
movss xmm0, dword [esp + 0x58]
movss xmm3, dword [esp + 0x5c]
movss xmm2, dword [esp + 0x2c]
mulss xmm0, xmm6
mulss xmm4, xmm5
mulss xmm3, xmm5
addss xmm4, dword [esp + 0x54]
mulss xmm2, xmm6
addss xmm3, dword [esp + 0x40]
addss xmm4, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm6
addss xmm3, xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm0, xmm5
addss xmm0, dword [esp + 0x30]
movaps xmm1, xmm3
mulss xmm1, xmm3
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10023f00
addss xmm0, dword [0x100cec68]
movss xmm1, dword [0x100ced80]
mov eax, dword [0x100da91c]
movss xmm6, dword [esp + 0x80]
movss xmm5, dword [esp + 0x84]
divss xmm1, xmm0
mov dword [esp + 0xac], 0
mov byte [esp + 0xd5], 1
movss xmm0, dword [eax + 0x104]
mulss xmm3, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm1, xmm2
addss xmm3, xmm5
addss xmm4, xmm6
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x88]
subss xmm3, xmm5
subss xmm4, xmm6
addss xmm1, xmm0
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa0], xmm4
subss xmm1, xmm0
mulss xmm3, xmm3
mulss xmm4, xmm4
movss dword [esp + 0xa8], xmm1
addss xmm3, xmm4
mulss xmm1, xmm1
addss xmm3, xmm1
ucomiss xmm3, dword [0x100cec50]
lahf
test ah, 0x44
jp 0x1002907c
mov byte [esp + 0xd5], 0
mov ecx, dword [0x1015d228]
lea edx, [esp + 0xf0]
mov edi, dword [esp + 0x68]
push edx
mov dword [esp + 0xd4], 0
lea edx, [esp + 0x94]
mov byte [esp + 0xd8], 1
movss dword [esp + 0x94], xmm6
movss dword [esp + 0x98], xmm5
movss dword [esp + 0x9c], xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov eax, dword [ecx]
push edi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x13c], edi
jne 0x1002913f
mov eax, dword [esp + 0x134]
dec eax
cmp eax, 6
mov eax, dword [esp + 0x28]
ja 0x10029143
inc eax
mov dword [esp + 0x28], eax
jmp 0x10029143
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
cmp eax, edx
jae 0x10029f22
mov ecx, dword [esp + 0x10]
sub eax, esi
add eax, ecx
cmp eax, edx
jb 0x10029f0a
inc esi
mov dword [esp + 0x34], esi
cmp esi, ecx
jle 0x10028d90
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x10029821
movq xmm0, qword [0x100da2b8]
sub esp, 8
movzx eax, cl
mov ecx, dword [0x100da2c0]
movq qword [esp + 0x88], xmm0
movq qword [esp + 0x7c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x1c], 0
mulss xmm0, dword [0x100e192c]
mulss xmm0, dword [0x100cec94]
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
call fcn.100bb9a0
mov ecx, dword [esi]
add ecx, 4
mov dword [esp + 0x64], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
mov ecx, dword [0x1015d244]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [esp + 0x6c], eax
test eax, eax
je 0x10029f0a
mov ecx, dword [0x100da918]
cmp ecx, 9
je 0x1002924b
cmp ecx, 0xb
je 0x1002924b
cmp ecx, 0x26
je 0x1002924b
mov byte [esp + 0x23], 0
cmp ecx, 0x28
jne 0x10029250
mov byte [esp + 0x23], 1
mov esi, dword [ebp + 0xc]
mov edi, dword [0x100da2b0]
and edi, 2
movss xmm0, dword [esi]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x10], xmm0
call fcn.10023ec0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10023ef0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x10], xmm0
call fcn.10023ec0
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10023ef0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x10], xmm0
call fcn.10023ec0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10023ef0
movss xmm4, dword [esp + 0x38]
movaps xmm2, xmm0
movss xmm5, dword [esp + 0x44]
movaps xmm0, xmm4
movss xmm3, dword [esp + 0x40]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x2c]
mov ecx, dword [0x100da914]
movss xmm6, dword [esp + 0x30]
mulss xmm0, xmm5
movaps xmm7, xmm6
mulss xmm7, xmm3
mov eax, dword [ecx]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm5
mov eax, dword [eax + 0x754]
mov dword [esp + 0x10], eax
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm7, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
xorps xmm0, xmmword [0x100cf070]
subss xmm0, xmm1
movss dword [esp + 0x5c], xmm7
movaps xmm1, xmm6
mulss xmm6, xmm5
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
movaps xmm7, xmm1
movss dword [esp + 0x30], xmm6
mulss xmm7, xmm4
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm4
addss xmm7, xmm0
subss xmm1, xmm2
movss dword [esp + 0x54], xmm7
movss dword [esp + 0x48], xmm1
call dword [esp + 0x10]
mov ecx, dword [0x100da914]
fstp dword [esp + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
cmp dword [0x100da918], 0x40
fstp dword [esp + 0x40]
jne 0x1002942b
test edi, edi
je 0x10029405
movss xmm0, dword [0x100cec7c]
comiss xmm0, dword [esp + 0x34]
seta al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 0x10
movss xmm0, dword [0x100cec90]
comiss xmm0, dword [esp + 0x34]
seta al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 0x10
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [0x100cef54]
push ecx
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fmul dword [0x100cec74]
add esp, 4
mov eax, dword [0x100da91c]
test edi, edi
je 0x100294a2
cmp byte [esp + 0x23], 0
fstp dword [esp + 0x10]
je 0x1002946c
movss xmm0, dword [eax + 0x140]
jmp 0x10029474
movss xmm0, dword [eax + 0x13c]
mulss xmm0, dword [0x100cef54]
push ecx
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fmul dword [0x100cec74]
add esp, 4
movss xmm0, dword [esp + 0x10]
fstp dword [esp + 0x38]
ucomiss xmm0, dword [esp + 0x38]
jmp 0x100294eb
cmp byte [esp + 0x23], 0
fstp dword [esp + 0x10]
je 0x100294b7
movss xmm0, dword [eax + 0x148]
jmp 0x100294bf
movss xmm0, dword [eax + 0x144]
mulss xmm0, dword [0x100cef54]
push ecx
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fmul dword [0x100cec74]
add esp, 4
movss xmm0, dword [esp + 0x10]
fstp dword [esp + 0x38]
ucomiss xmm0, dword [esp + 0x38]
lahf
test ah, 0x44
jnp 0x10029f22
xor esi, esi
mov dword [esp + 0x3c], esi
nop dword [eax + eax]
mov edi, dword [0x100da914]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x100296a7
cmp dword [eax + 0xf4], 0
je 0x100296a7
mov eax, dword [0x1015d538]
push dword [esp + 0x3c]
add eax, 0xffffff97
xor eax, 0x4299eefa
mov esi, dword [eax + edi]
mov eax, dword [0x1015d564]
add eax, 0xffffff8c
xor eax, 0x4299ef05
movss xmm0, dword [eax + edi]
movss dword [esp + 0x3c], xmm0
call dword [0x1015d354]
mov eax, dword [0x1015d35c]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x18], eax
mov dword [esp], 0
call dword [esp + 0x18]
fstp dword [esp + 0x24]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1015d35c]
mov eax, dword [0x1015d35c]
fstp dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x18]
fstp dword [esp + 0x2c]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1015d35c]
add esp, 8
fstp dword [esp + 0x10]
cmp esi, 0x1c
jne 0x10029630
movss xmm3, dword [esp + 0x38]
movss xmm0, dword [0x100cee28]
comiss xmm0, xmm3
jbe 0x10029630
movss xmm1, dword [esp + 0x1c]
lea eax, [esi - 0x19]
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x100295f5
movss xmm0, dword [0x100ced80]
subss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x100ced80]
subss xmm0, xmm2
jmp 0x10029642
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x44]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.100bb790
movss xmm4, dword [esp + 0x1c]
movaps xmm3, xmm0
movss xmm2, dword [esp + 0x28]
movaps xmm1, xmm3
mulss xmm4, dword [esp + 0x40]
movaps xmm6, xmm3
mov esi, dword [esp + 0x3c]
mulss xmm2, dword [esp + 0x34]
shufps xmm1, xmm3, 0xe
movaps xmm0, xmm1
shufps xmm3, xmm3, 1
shufps xmm1, xmm1, 1
mulss xmm6, xmm4
mulss xmm0, xmm2
mulss xmm3, xmm4
mulss xmm1, xmm2
addss xmm6, xmm0
addss xmm3, xmm1
jmp 0x100296ad
xorps xmm6, xmm6
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x5c]
movss xmm0, dword [esp + 0x54]
movss xmm4, dword [esp + 0x50]
movss xmm5, dword [esp + 0x30]
mulss xmm0, xmm6
mulss xmm2, xmm3
mulss xmm4, xmm3
addss xmm2, dword [esp + 0x58]
mulss xmm5, xmm6
addss xmm4, dword [esp + 0x4c]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, xmm6
addss xmm4, xmm0
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x70]
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm0, dword [esp + 0x2c]
subss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10023f00
addss xmm0, dword [0x100cec68]
movss xmm1, dword [0x100ced80]
mov eax, dword [0x100da91c]
push dword [ebp + 0x14]
divss xmm1, xmm0
movss xmm0, dword [eax + 0x104]
push dword [esp + 0x70]
movaps xmm3, xmm1
mulss xmm5, xmm1
push dword [esp + 0x68]
mulss xmm3, xmm2
movaps xmm2, xmm1
sub esp, 0xc
mulss xmm2, xmm4
mov ecx, esp
sub esp, 0xc
mulss xmm5, xmm0
mulss xmm3, xmm0
addss xmm5, dword [esp + 0xa0]
mulss xmm2, xmm0
addss xmm3, dword [esp + 0x98]
movq xmm0, qword [esp + 0xa4]
addss xmm2, dword [esp + 0x9c]
movss dword [esp + 0x110], xmm5
mov eax, dword [esp + 0x110]
unpcklps xmm3, xmm2
movq qword [ecx], xmm3
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x8c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.10028600
mov edx, dword [esp + 0x14]
test al, al
lea ecx, [edx + 1]
cmove ecx, edx
mov edx, dword [esp + 0x64]
mov eax, ecx
mov dword [esp + 0x14], eax
cmp eax, edx
jae 0x10029f22
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ecx
cmp eax, edx
jb 0x10029f0a
inc esi
mov dword [esp + 0x3c], esi
cmp esi, ecx
jle 0x10029500
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x10029f24
mov ecx, dword [0x1015d4c8]
mov eax, dword [0x100da2a8]
add ecx, 0xffffffb3
xor ecx, 0x4299eede
cmp byte [ecx + eax], 0
mov eax, dword [0x100da91c]
je 0x10029853
movss xmm0, dword [eax + 0x130]
jmp 0x1002985b
movss xmm0, dword [eax + 0x12c]
mulss xmm0, dword [0x100ced18]
push 2
push dword [0x100e1ef4]
push dword [0x100e1ef0]
movss dword [esp + 0x24], xmm0
call fcn.100ba3d0
mov esi, dword [0x100da2a8]
cmp eax, dword [0x100e1ef4]
je 0x100298cb
mov eax, dword [0x1015d430]
add eax, 0xffffffd9
xor eax, 0x4299eeb8
add eax, esi
movss xmm2, dword [eax + 4]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10023f00
comiss xmm0, dword [esp + 0x18]
ja 0x10029f0a
xorps xmm0, xmm0
comiss xmm0, dword [0x100e192c]
jae 0x10029f22
mov eax, dword [0x100da2c0]
movq xmm0, qword [0x100da2b8]
push 0x30
mov dword [esp + 0x80], eax
lea eax, [esp + 0x118]
push 0
push eax
movq qword [esp + 0x80], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100f2630]
xorps xmm0, xmm0
add esp, 0xc
mov dword [esp + 0x110], 0
movups xmmword [esp + 0xf0], xmm0
movups xmmword [esp + 0x100], xmm0
cmp eax, 0xffffffff
je 0x10029965
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100f41b0]
test al, al
je 0x10029965
mov eax, dword [0x1015d46c]
add eax, 0xffffffca
xor eax, 0x4299eec7
test byte [eax + esi], 1
jne 0x10029965
movzx eax, byte [0x100e1b28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1002996d
movss xmm0, dword [0x100e192c]
cvttss2si eax, xmm0
sub esp, 8
mov dword [esp + 0x30], 0
imul eax, eax, 0xff
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100cec94]
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
call fcn.100bb9a0
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x48], eax
movss xmm0, dword [esi]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x18], xmm0
call fcn.10023ec0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x18]
call fcn.10023ef0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x18], xmm0
call fcn.10023ec0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x18]
call fcn.10023ef0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100cec9c]
movss dword [esp + 0x18], xmm0
call fcn.10023ec0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x18]
call fcn.10023ef0
movss xmm4, dword [esp + 0x64]
movaps xmm2, xmm0
movss xmm5, dword [esp + 0x60]
movaps xmm0, xmm4
movss xmm3, dword [esp + 0x10]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x30]
movss xmm6, dword [esp + 0x34]
mulss xmm0, xmm5
movaps xmm7, xmm6
mulss xmm7, xmm3
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm5
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm7, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
xorps xmm0, xmmword [0x100cf070]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm7
movaps xmm1, xmm6
movaps xmm7, xmm2
mulss xmm1, dword [esp + 0x30]
mulss xmm7, xmm3
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
mulss xmm2, xmm4
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm7, xmm0
mulss xmm6, xmm5
subss xmm1, xmm2
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x50], xmm1
mov ecx, dword [0x100da914]
movss dword [esp + 0x34], xmm6
mov eax, dword [ecx]
mov eax, dword [eax + 0x754]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov ecx, dword [0x100da914]
fstp dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
xor esi, esi
fstp dword [esp + 0x10]
mov dword [esp + 0x2c], esi
nop dword [eax + eax]
mov edi, dword [0x100da914]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x10029ce7
cmp dword [eax + 0xf4], 0
je 0x10029ce7
mov eax, dword [0x1015d538]
push dword [esp + 0x2c]
add eax, 0xffffff97
xor eax, 0x4299eefa
mov esi, dword [eax + edi]
mov eax, dword [0x1015d564]
add eax, 0xffffff8c
xor eax, 0x4299ef05
movss xmm0, dword [eax + edi]
movss dword [esp + 0x68], xmm0
call dword [0x1015d354]
mov eax, dword [0x1015d35c]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x20], eax
mov dword [esp], 0
call dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1015d35c]
mov eax, dword [0x1015d35c]
fstp dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x20]
fstp dword [esp + 0x24]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1015d35c]
add esp, 8
fstp dword [esp + 0x18]
cmp esi, 0x1c
jne 0x10029c70
movss xmm3, dword [esp + 0x64]
movss xmm0, dword [0x100cee28]
comiss xmm0, xmm3
jbe 0x10029c70
movss xmm1, dword [esp + 0x14]
lea eax, [esi - 0x19]
movss xmm2, dword [esp + 0x1c]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x10029c35
movss xmm0, dword [0x100ced80]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x100ced80]
subss xmm0, xmm2
jmp 0x10029c82
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x60]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x18]
call fcn.100bb790
movss xmm3, dword [esp + 0x14]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x24]
movaps xmm5, xmm1
mulss xmm3, dword [esp + 0x10]
movaps xmm0, xmm1
mov esi, dword [esp + 0x2c]
mulss xmm2, dword [esp + 0x38]
shufps xmm5, xmm1, 0xe
movaps xmm6, xmm5
shufps xmm1, xmm1, 1
shufps xmm5, xmm5, 1
mulss xmm6, xmm2
mulss xmm0, xmm3
mulss xmm5, xmm2
mulss xmm1, xmm3
addss xmm6, xmm0
addss xmm5, xmm1
jmp 0x10029ced
xorps xmm6, xmm6
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x44]
movss xmm0, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x58]
movss xmm2, dword [esp + 0x34]
mulss xmm4, xmm5
mulss xmm0, xmm6
addss xmm4, dword [esp + 0x40]
mulss xmm3, xmm5
mulss xmm5, dword [esp + 0x4c]
addss xmm3, dword [esp + 0x54]
addss xmm4, xmm0
mulss xmm2, xmm6
movss xmm0, dword [esp + 0x50]
addss xmm5, dword [esp + 0x30]
mulss xmm0, xmm6
addss xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
subss xmm2, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10023f00
addss xmm0, dword [0x100cec68]
movss xmm1, dword [0x100ced80]
mov eax, dword [0x100da91c]
movss xmm6, dword [esp + 0x74]
movss xmm5, dword [esp + 0x78]
divss xmm1, xmm0
mov dword [esp + 0xac], 0
mov byte [esp + 0xd5], 1
movss xmm0, dword [eax + 0x104]
mulss xmm3, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm2, xmm1
addss xmm3, xmm5
addss xmm4, xmm6
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm3, xmm5
subss xmm4, xmm6
addss xmm2, xmm0
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa0], xmm4
subss xmm2, xmm0
mulss xmm3, xmm3
mulss xmm4, xmm4
movss dword [esp + 0xa8], xmm2
addss xmm3, xmm4
mulss xmm2, xmm2
addss xmm3, xmm2
ucomiss xmm3, dword [0x100cec50]
lahf
test ah, 0x44
jp 0x10029e1f
mov byte [esp + 0xd5], 0
mov ecx, dword [0x1015d228]
lea edx, [esp + 0xf0]
mov edi, dword [esp + 0x68]
push edx
mov dword [esp + 0xd4], 0
lea edx, [esp + 0x94]
mov byte [esp + 0xd8], 1
movss dword [esp + 0x94], xmm6
movss dword [esp + 0x98], xmm5
movss dword [esp + 0x9c], xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov eax, dword [ecx]
push edi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x13c], edi
jne 0x10029ee2
mov eax, dword [esp + 0x134]
dec eax
cmp eax, 6
mov eax, dword [esp + 0x28]
ja 0x10029ee6
inc eax
mov dword [esp + 0x28], eax
jmp 0x10029ee6
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jae 0x10029f22
sub eax, esi
add eax, 0xff
cmp eax, ecx
jb 0x10029f0a
inc esi
mov dword [esp + 0x2c], esi
cmp esi, 0xff
jle 0x10029b40
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 0x10
mov al, 1
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 0x10