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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
mov esi, dword [0x10275fb4]
push edi
mov byte [esp + 0x13], dl
mov dword [esp + 0x68], esi
mov eax, dword [esi + 0x1cac]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1cac]
mov dword [esp + 0x6c], eax
cmp byte [eax + 0x8f], 0
jne 0x1016d49d
mov ecx, dword ds:[eax + 0xc4]
xor edx, edx
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.Load_Selected
call fcn.10128fa0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1ce4], edi
jne 0x1016c578
mov dword [esi + 0x1ce8], edi
nop dword [eax + eax]
cmp dword [esi + 0x1d1c], edi
jne 0x1016c58f
mov byte [esi + 0x1d20], 1
mov ecx, str.Load_Selected
mov eax, ecx
cmp eax, 0xffffffff
jae 0x1016c5b6
nop dword [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x1016c5b6
cmp dl, 0x23
jne 0x1016c5b0
cmp byte [ecx + 1], dl
je 0x1016c5b6
inc ecx
cmp ecx, 0xffffffff
jb 0x1016c5a0
movss xmm4, dword [esi + 0x1a40]
movss xmm1, dword [0x10225220]
movss dword [esp + 0x34], xmm4
cmp ecx, str.Load_Selected
jne 0x1016c5d9
xorps xmm3, xmm3
jmp 0x1016c624
push 0
push ecx
push str.Load_Selected
push ecx
mov ecx, dword [esi + 0x1a3c]
lea eax, [esp + 0x30]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm4
call fcn.10143420
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x10224fa4]
movss xmm4, dword [esp + 0x24]
movss dword [esp + 0x34], xmm4
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x20]
movss xmm2, dword [esi + 0x1554]
mulss xmm2, dword [0x10224fe8]
mov dword [esp + 0x24], 0x41f00000
movss xmm0, dword [eax + 0xd0]
subss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x14]
addss xmm2, xmm4
push dword [esp + 0x24]
movss dword [esp + 0x3c], xmm3
subss xmm1, xmm0
subss xmm1, dword [0x10225080]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esi + 0x1550]
mulss xmm1, dword [0x10224fe8]
push dword [esp + 0x24]
addss xmm1, xmm3
call fcn.1011c7a0
mov eax, dword ds:[esp + 0x74]
movss xmm2, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd0]
addss xmm0, xmm1
addss xmm2, xmm3
movss dword [esp + 0x64], xmm1
movss xmm1, dword [esi + 0x1554]
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x68], xmm2
call fcn.1011cf60
add esp, 4
lea ecx, [esp + 0x5c]
mov edx, edi
push 0
call fcn.1011cd40
add esp, 8
test al, al
je 0x1016d49d
push 0
lea eax, [esp + 0x36]
mov edx, edi
push eax
lea eax, [esp + 0x3b]
push eax
lea ecx, [esp + 0x64]
call fcn.10161d80
mov ecx, dword [0x10274ac0]
add esp, 0xc
mov edi, dword [0x10275fb4]
mov byte [esp + 0x1b], al
mov eax, dword fs:[0x2c]
movups xmm0, xmmword [edi + 0x181c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10280fa0]
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x90], xmm0
cmp eax, dword [ecx + 4]
jg 0x1016d4a3
jmp 0x1016c774
mov edi, dword [0x10275fb4]
cmp byte [esp + 0x1b], 0
je 0x1016c78d
mov ecx, str.modalload
call fcn.1011b820
mov edi, dword [0x10275fb4]
jmp 0x1016c7c3
cmp byte [esp + 0x32], 0
je 0x1016c7ad
mov ecx, str.modalload
call fcn.1011b8c0
nop
test al, al
jne 0x1016c7ad
movups xmm0, xmmword [edi + 0x180c]
jmp 0x1016c7bb
cmp byte [esp + 0x33], 0
je 0x1016c7c3
movups xmm0, xmmword [edi + 0x17fc]
movups xmmword [esp + 0x90], xmm0
xor esi, esi
movss xmm0, dword [esi + 0x10280ed0]
sub esp, 8
subss xmm0, dword [esp + esi + 0x98]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100aa68f
movss xmm1, dword [esi + 0x10280ed0]
add esp, 8
movss xmm2, dword [esp + esi + 0x90]
comiss xmm2, xmm1
fstp dword [esp + 0x14]
jbe 0x1016c828
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10225068]
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [esi + 0x10280ed0], xmm0
jmp 0x1016c850
comiss xmm1, xmm2
jbe 0x1016c850
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10225078]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [esi + 0x10280ed0], xmm1
add esi, 4
cmp esi, 0xc
jl 0x1016c7c5
mov eax, dword [esp + 0x68]
mov ecx, 0x10280ed0
movss xmm7, dword [eax + 0x1558]
call fcn.10126de0
mov ecx, dword [esp + 0x60]
mov esi, eax
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x10275fb4]
push 0
push ecx
movss dword [esp], xmm7
mov eax, dword [ecx + 0x1cac]
lea ecx, [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x58], edx
call fcn.10144020
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10274ac0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10281050]
cmp eax, dword [ecx + 4]
jg 0x1016d4db
mov esi, dword [0x10275fb4]
xor edx, edx
mov eax, dword [esi + 0x1cac]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.Load_Selected
call fcn.10128fa0
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [esi + 0x1ce4], eax
jne 0x1016c91b
mov dword [esi + 0x1ce8], eax
nop dword [eax + eax]
cmp dword [esi + 0x1d1c], eax
jne 0x1016c92f
mov byte [esi + 0x1d20], 1
mov dword [esp + 0x1c], eax
mov ecx, 0x10281114
mov eax, dword [esp + 0x68]
movups xmm0, xmmword [eax + 0x15dc]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
movups xmmword [esp + 0x48], xmm0
call fcn.1004d780
mov esi, dword [esp + 0x28]
mov ecx, dword [0x10281114]
cmp byte [esi + 0xd], 0
jne 0x1016c970
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x10]
jae 0x1016c972
mov esi, ecx
cmp esi, ecx
jne 0x1016c9be
lea eax, [esp + 0x40]
mov ecx, 0x10281114
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100411c0
lea eax, ds:[esp + 0x1c]
mov ecx, 0x10281114
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1004d780
mov esi, dword [esp + 0x28]
cmp byte [esi + 0xd], 0
jne 0x1016c9b8
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x1016c9be
mov esi, dword [0x10281114]
movss xmm0, dword [0x10280ed0]
sub esp, 8
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [esp + 0x48]
addss xmm0, dword [0x10280ed4]
addss xmm1, dword [esp + 0x50]
addss xmm0, dword [0x10280ed8]
divss xmm1, dword [0x1022500c]
divss xmm0, dword [0x1022500c]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100aa68f
movss xmm0, dword [0x10224f2c]
add esp, 8
movss xmm5, dword [0x10224fac]
fstp dword [esp + 0x14]
comiss xmm0, dword [esp + 0x14]
jbe 0x1016ca47
movaps xmm2, xmm5
movaps xmm3, xmm5
subss xmm2, dword [esp + 0x40]
subss xmm3, dword [esp + 0x44]
movaps xmm6, xmm5
subss xmm6, dword [esp + 0x48]
jmp 0x1016ca59
movss xmm2, dword [esp + 0x40]
movss xmm3, dword [esp + 0x44]
movss xmm6, dword [esp + 0x48]
movss xmm1, dword [esi + 0x14]
comiss xmm2, xmm1
movss xmm4, dword [0x10225048]
jbe 0x1016ca83
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm4
addss xmm0, xmm1
minss xmm0, xmm2
movss dword [esi + 0x14], xmm0
jmp 0x1016ca9e
comiss xmm1, xmm2
jbe 0x1016ca9e
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm4
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [esi + 0x14], xmm1
movss xmm1, dword [esi + 0x18]
comiss xmm3, xmm1
jbe 0x1016cabb
movss xmm2, dword [edi + 0x18]
mulss xmm2, xmm4
addss xmm2, xmm1
minss xmm2, xmm3
jmp 0x1016cad4
comiss xmm1, xmm3
movaps xmm2, xmm1
jbe 0x1016cad9
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm4
subss xmm2, xmm0
maxss xmm2, xmm3
movss dword [esi + 0x18], xmm2
movss xmm3, dword [esi + 0x1c]
comiss xmm6, xmm3
jbe 0x1016caf6
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm4
addss xmm1, xmm3
minss xmm1, xmm6
jmp 0x1016cb0f
comiss xmm3, xmm6
movaps xmm1, xmm3
jbe 0x1016cb14
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm4
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [esi + 0x1c], xmm1
movss xmm6, dword [esi + 0x20]
movss xmm7, dword [esp + 0x4c]
comiss xmm7, xmm6
jbe 0x1016cb37
movss xmm3, dword [edi + 0x18]
mulss xmm3, xmm4
addss xmm3, xmm6
minss xmm3, xmm7
jmp 0x1016cb50
comiss xmm6, xmm7
movaps xmm3, xmm6
jbe 0x1016cb55
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm4
subss xmm3, xmm0
maxss xmm3, xmm7
movss dword [esi + 0x20], xmm3
movss xmm6, dword [esi + 0x14]
xorps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x1016cb67
xorps xmm4, xmm4
jmp 0x1016cb6e
movaps xmm4, xmm5
minss xmm4, xmm6
comiss xmm0, xmm2
movss xmm6, dword [0x102251ac]
movss xmm7, dword [0x10224f64]
mulss xmm4, xmm6
addss xmm4, xmm7
cvttss2si ecx, xmm4
jbe 0x1016cb94
xorps xmm4, xmm4
jmp 0x1016cb9b
movaps xmm4, xmm5
minss xmm4, xmm2
mulss xmm4, xmm6
addss xmm4, xmm7
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x1016cbb6
xorps xmm2, xmm2
jmp 0x1016cbbd
movaps xmm2, xmm5
minss xmm2, xmm1
mulss xmm2, xmm6
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
jbe 0x1016cbd8
xorps xmm5, xmm5
jmp 0x1016cbdc
minss xmm5, xmm3
mov esi, dword [0x10275fb4]
mulss xmm5, xmm6
mov dword [esp + 0x90], 0
movups xmm0, xmmword [esi + 0x15dc]
addss xmm5, xmm7
movups xmmword [esp + 0x94], xmm0
cvttss2si eax, xmm5
shl eax, 0x18
or ecx, eax
lea eax, [esp + 0x90]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x1da4]
push eax
call fcn.100398c0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
movzx eax, cl
movss xmm4, dword [0x102251ac]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10225340]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x10225340]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm2, xmm4
addsd xmm0, qword [eax*8 + 0x10225340]
lea eax, [esp + 0x60]
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
push ecx
push str.Load_Selected
push eax
divss xmm1, xmm4
addsd xmm0, qword [ecx*8 + 0x10225340]
movss dword [esi + 0x15dc], xmm3
lea ecx, [esp + 0x2c]
movss dword [esi + 0x15e0], xmm2
movss xmm2, dword [esp + 0x40]
movss dword [esi + 0x15e4], xmm1
cvtpd2ps xmm0, xmm0
divss xmm0, xmm4
movss dword [esi + 0x15e8], xmm0
movss xmm1, dword [esp + 0x64]
movss xmm0, dword [esp + 0x68]
addss xmm1, dword [esp + 0x6c]
addss xmm0, dword [esp + 0x70]
movss xmm4, dword [0x10224fe8]
movss xmm3, dword [esp + 0x44]
divss xmm3, xmm4
divss xmm2, xmm4
divss xmm1, xmm4
divss xmm0, xmm4
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm0
call fcn.101262a0
mov esi, dword [0x10275fb4]
add esp, 0xc
mov eax, dword [esi + 0x1da4]
mov ecx, dword [esi + 0x1dac]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
add eax, eax
movups xmm0, xmmword [ecx + edx*4 - 0x10]
movups xmmword [esi + eax*8 + 0x15dc], xmm0
movzx eax, byte [esp + 0x13]
dec dword [esi + 0x1da4]
movss xmm2, dword [esi + 0x1a40]
movss dword [esp + 0x14], xmm2
mov eax, dword [eax*4 + 0x10223d64]
test eax, eax
jne 0x1016cd93
xorps xmm0, xmm0
jmp 0x1016cddd
movss xmm3, dword [0x10225220]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1a3c]
lea eax, [esp + 0x30]
mov dword [esp], 0xbf800000
push eax
call fcn.10143420
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x10224fa4]
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x14], xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm2, dword [0x102250dc]
or dword [esi + 0x1d30], 2
movss dword [esp + 0x34], xmm0
addss xmm0, dword [0x10225088]
push ecx
mov ecx, str.modalload
movss dword [esi + 0x1d54], xmm2
mov dword [esi + 0x1d38], 1
movss dword [esi + 0x1d50], xmm0
call fcn.1011b1a0
add esp, 4
test al, al
je 0x1016d49d
mov esi, dword [0x10275fb4]
mov ecx, dword [0x10274ac0]
mov edi, dword [esp + 0x68]
mov eax, dword [esi + 0x1cac]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1cac]
mov dword [esp + 0x20], eax
movss xmm2, dword [eax + 0xc]
movss xmm3, dword [eax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x14]
movaps xmm0, xmm3
movss dword [esp + 0xb8], xmm2
addss xmm0, dword [eax + 0x18]
mov eax, dword fs:[0x2c]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0x90], xmm2
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10280fec]
movss dword [esp + 0x9c], xmm0
movups xmm0, xmmword [edi + 0x15dc]
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm1
movups xmmword [esp + 0x70], xmm0
cmp eax, dword [ecx + 4]
jg 0x1016d531
jmp 0x1016ced5
mov esi, dword [0x10275fb4]
mov eax, dword [esi + 0x1cac]
mov ecx, str.Load_Selected
mov edx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10128fa0
add esp, 4
mov dword [esp + 0x38], eax
cmp dword [esi + 0x1ce4], eax
jne 0x1016cf0e
mov dword [esi + 0x1ce8], eax
cmp dword [esi + 0x1d1c], eax
jne 0x1016cf1d
mov byte [esi + 0x1d20], 1
mov dword [esp + 0x1c], eax
mov ecx, 0x10280f78
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1004d780
mov esi, dword [esp + 0x60]
mov ecx, dword [0x10280f78]
cmp byte [esi + 0xd], 0
jne 0x1016cf4e
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 0x10]
jae 0x1016cf50
mov esi, ecx
cmp esi, ecx
jne 0x1016cf9e
lea eax, [esp + 0x70]
mov ecx, 0x10280f78
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100411c0
lea eax, ds:[esp + 0x1c]
mov ecx, 0x10280f78
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1004d780
mov esi, dword [esp + 0x60]
cmp byte [esi + 0xd], 0
jne 0x1016cf98
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x1016cf9e
mov esi, dword [0x10280f78]
mov eax, dword [esp + 0x6c]
sub esp, 8
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [esp + 0x78]
mov eax, dword [eax + 8]
and eax, 0x4000000
or eax, 0x8000000
addss xmm1, dword [esp + 0x80]
shr eax, 0x1a
add eax, eax
divss xmm1, dword [0x1022500c]
movss xmm0, dword [edi + eax*8 + 0x15e0]
addss xmm0, dword [edi + eax*8 + 0x15dc]
addss xmm0, dword [edi + eax*8 + 0x15e4]
divss xmm0, dword [0x1022500c]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100aa68f
movss xmm0, dword [0x10224f40]
add esp, 8
movss xmm6, dword [0x10224fac]
fstp dword [esp + 0x38]
comiss xmm0, dword [esp + 0x38]
jbe 0x1016d043
movaps xmm3, xmm6
movaps xmm5, xmm6
subss xmm3, dword [esp + 0x70]
subss xmm5, dword [esp + 0x74]
movaps xmm7, xmm6
subss xmm7, dword [esp + 0x78]
jmp 0x1016d055
movss xmm3, dword [esp + 0x70]
movss xmm5, dword [esp + 0x74]
movss xmm7, dword [esp + 0x78]
mov edi, dword [0x10275fb4]
movss xmm2, dword [esi + 0x14]
comiss xmm3, xmm2
movss xmm1, dword [edi + 0x18]
movss xmm4, dword [0x10225048]
jbe 0x1016d088
movaps xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm2
minss xmm0, xmm3
movss dword [esi + 0x14], xmm0
jmp 0x1016d0a1
comiss xmm2, xmm3
jbe 0x1016d0a1
movaps xmm0, xmm1
mulss xmm0, xmm4
subss xmm2, xmm0
maxss xmm2, xmm3
movss dword [esi + 0x14], xmm2
movss xmm2, dword [esi + 0x18]
comiss xmm5, xmm2
jbe 0x1016d0bc
movaps xmm3, xmm1
mulss xmm3, xmm4
addss xmm3, xmm2
minss xmm3, xmm5
jmp 0x1016d0d3
comiss xmm2, xmm5
movaps xmm3, xmm2
jbe 0x1016d0d8
movaps xmm0, xmm1
mulss xmm0, xmm4
subss xmm3, xmm0
maxss xmm3, xmm5
movss dword [esi + 0x18], xmm3
movss xmm5, dword [esi + 0x1c]
comiss xmm7, xmm5
jbe 0x1016d0f3
movaps xmm2, xmm1
mulss xmm2, xmm4
addss xmm2, xmm5
minss xmm2, xmm7
jmp 0x1016d10a
comiss xmm5, xmm7
movaps xmm2, xmm5
jbe 0x1016d10f
movaps xmm0, xmm1
mulss xmm0, xmm4
subss xmm2, xmm0
maxss xmm2, xmm7
movss dword [esi + 0x1c], xmm2
movss xmm5, dword [esi + 0x20]
movss xmm0, dword [esp + 0x7c]
comiss xmm0, xmm5
jbe 0x1016d135
mulss xmm1, xmm4
addss xmm1, xmm5
minss xmm1, xmm0
movss dword [esi + 0x20], xmm1
movaps xmm5, xmm1
jmp 0x1016d14b
comiss xmm5, xmm0
jbe 0x1016d14b
mulss xmm1, xmm4
subss xmm5, xmm1
maxss xmm5, xmm0
movss dword [esi + 0x20], xmm5
movss xmm4, dword [esi + 0x14]
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x1016d15d
xorps xmm1, xmm1
jmp 0x1016d164
movaps xmm1, xmm6
minss xmm1, xmm4
comiss xmm0, xmm3
movss xmm4, dword [0x102251ac]
movss xmm7, dword [0x10224f64]
mulss xmm1, xmm4
addss xmm1, xmm7
cvttss2si ecx, xmm1
jbe 0x1016d18a
xorps xmm1, xmm1
jmp 0x1016d191
movaps xmm1, xmm6
minss xmm1, xmm3
mulss xmm1, xmm4
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm2
jbe 0x1016d1ac
xorps xmm1, xmm1
jmp 0x1016d1b3
movaps xmm1, xmm6
minss xmm1, xmm2
mulss xmm1, xmm4
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
ja 0x1016d1d0
movaps xmm0, xmm6
minss xmm0, xmm5
mulss xmm0, xmm4
mov dword [esp + 0x70], 0
addss xmm0, xmm7
cvttss2si eax, xmm0
movups xmm0, xmmword [edi + 0x15dc]
shl eax, 0x18
or eax, ecx
lea ecx, [edi + 0x1da4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x70]
push eax
movups xmmword [esp + 0x78], xmm0
call fcn.100398c0
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x90]
movzx eax, cl
movss xmm4, dword [0x102251ac]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10225340]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x10225340]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm2, xmm4
addsd xmm0, qword [eax*8 + 0x10225340]
movzx eax, byte [esp + 0x13]
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
push ecx
divss xmm1, xmm4
addsd xmm0, qword [ecx*8 + 0x10225340]
movss dword [edi + 0x15dc], xmm3
lea ecx, [esp + 0x44]
movss xmm3, dword [esp + 0xbc]
movss dword [edi + 0x15e0], xmm2
movss xmm2, dword [esp + 0x38]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x15e4], xmm1
divss xmm0, xmm4
movss dword [edi + 0x15e8], xmm0
addss xmm3, dword [esp + 0xc0]
movss xmm0, dword [esp + 0x18]
movss xmm4, dword [0x10224fe8]
movaps xmm1, xmm0
addss xmm0, dword [esp + 0x44]
divss xmm2, xmm4
divss xmm1, xmm4
divss xmm3, xmm4
push dword [eax*4 + 0x10223d64]
subss xmm3, xmm2
subss xmm0, xmm1
lea eax, [esp + 0xa0]
push eax
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm0
call fcn.101262a0
mov esi, dword [0x10275fb4]
add esp, 0xc
mov eax, dword [esi + 0x1da4]
mov ecx, dword [esi + 0x1dac]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x15dc], xmm0
dec dword [esi + 0x1da4]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, str.Im_sure
push 0
mov dword [esp + 0x24], 0x42a00000
mov dword [esp + 0x28], 0x41a00000
movss xmm3, dword [eax + 0x14]
divss xmm3, dword [0x10224fe8]
movss xmm2, dword [eax + 0x18]
mov eax, dword [esi + 0x1cac]
subss xmm2, dword [esp + 0x18]
subss xmm3, dword [0x102250dc]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1cac]
subss xmm2, dword [0x10225070]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
subss xmm0, dword [eax + 0x58]
subss xmm1, dword [eax + 0x5c]
addss xmm3, xmm0
addss xmm2, xmm1
movss dword [eax + 0xd0], xmm3
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xec]
movss xmm0, dword [eax + 0xe8]
maxss xmm1, xmm2
maxss xmm0, xmm3
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xe8], xmm0
call fcn.1015f360
add esp, 4
test al, al
je 0x1016d431
cmp byte [esp + 0x13], 0
mov ecx, dword [0x10273640]
jne 0x1016d42d
mov ecx, dword [0x10273644]
mov eax, dword [ecx]
call dword [eax]
cmp byte [esp + 0x1b], 0
jne 0x1016d45d
mov eax, dword [0x10275fb4]
cmp byte [eax + 0x3e2], 0
je 0x1016d45d
xor edx, edx
lea ecx, [esp + 0x90]
call fcn.10124ac0
test al, al
jne 0x1016d45d
call fcn.1011b480
mov esi, dword [0x10275fb4]
mov eax, dword [esi + 0x1cac]
cmp dword [esi + 0x1e10], eax
jne 0x1016d481
mov dword [esi + 0x1f10], eax
mov dword [esi + 0x1f14], 2
test dword [eax + 8], 0x1000000
je 0x1016d491
mov byte [esi + 0x1c56], 1
call fcn.1012b360
mov byte [esi + 0x1c56], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x10280fa0
call fcn.10088d85
add esp, 4
cmp dword [0x10280fa0], 0xffffffff
jne 0x1016c76e
movaps xmm0, xmmword [esp + 0x70]
push 0x10280fa0
movaps xmmword [0x10280ed0], xmm0
call fcn.10088d34
add esp, 4
jmp 0x1016c76e
push 0x10281050
call fcn.10088d85
add esp, 4
cmp dword [0x10281050], 0xffffffff
jne 0x1016c8de
push 0x24
call fcn.10088cd4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x1018b8c0
mov dword [0x10281114], eax
call fcn.10088cb1
add esp, 4
push 0x10281050
call fcn.10088d34
add esp, 4
jmp 0x1016c8de
push 0x10280fec
call fcn.10088d85
add esp, 4
cmp dword [0x10280fec], 0xffffffff
jne 0x1016cecf
push 0x24
call fcn.10088cd4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x1018b8b0
mov dword [0x10280f78], eax
call fcn.10088cb1
add esp, 4
push 0x10280fec
call fcn.10088d34
add esp, 4
jmp 0x1016cecf