Function at 0x10087280
Capabilities:
Terminate process

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
sub esp, 0x50
push esi
push edi
mov edi, dword [0x101e0c0c]
test ecx, ecx
mov edx, str.SCROLLY
mov dword [ebp - 8], ecx
push ecx
mov eax, 0x10160fc8
mov esi, dword [edi + 0x198c]
cmovne eax, edx
push eax
mov ecx, esi
call fcn.10065a90
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100872d1
mov dl, byte [esi + 0x79]
jmp 0x100872d4
mov dl, byte [esi + 0x78]
xorps xmm1, xmm1
test dl, dl
je 0x100872e5
movss xmm3, dword [edi + 0x1564]
jmp 0x100872e8
xorps xmm3, xmm3
movss xmm0, dword [esi + 0xc]
movss xmm4, dword [esi + 0x10]
movaps xmm6, xmm0
movss xmm2, dword [esi + 0x48]
movaps xmm5, xmm4
movss dword [ebp - 0x10], xmm3
addss xmm6, dword [esi + 0x14]
addss xmm5, dword [esi + 0x18]
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 0x40], xmm5
test eax, eax
jne 0x10087361
addss xmm0, xmm2
movss dword [ebp - 0x50], xmm0
movaps xmm0, xmm5
subss xmm0, dword [edi + 0x1564]
movss dword [ebp - 0x4c], xmm0
movaps xmm0, xmm6
subss xmm0, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x48], xmm0
movaps xmm0, xmm5
subss xmm0, xmm2
movss dword [ebp - 0x44], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x50], xmm0
movss xmm2, dword [ebp - 0x4c]
jmp 0x10087415
movaps xmm0, xmm6
mov ecx, dword [esi + 8]
mov eax, dword [0x101e0c0c]
addss xmm4, xmm2
subss xmm0, dword [edi + 0x1564]
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x50], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [ebp - 0x48], xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x44], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x50], xmm0
test ecx, 0x400
je 0x100873d8
movss xmm3, dword [eax + 0x18b0]
mulss xmm3, dword [esi + 0x26c]
movss xmm0, dword [eax + 0x1538]
addss xmm0, xmm0
addss xmm3, dword [esi + 0x14c]
addss xmm3, xmm0
jmp 0x100873db
xorps xmm3, xmm3
test cl, 1
je 0x100873e5
xorps xmm2, xmm2
jmp 0x10087405
movss xmm0, dword [eax + 0x1538]
movss xmm2, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm2, dword [esi + 0x26c]
addss xmm2, xmm0
mov eax, dword [ebp - 8]
addss xmm2, xmm3
addss xmm2, xmm4
movss dword [ebp - 0x4c], xmm2
movss xmm0, dword [ebp - 0x48]
movss xmm7, dword [ebp - 0x50]
movss xmm5, dword [ebp - 0x44]
subss xmm0, xmm7
subss xmm5, xmm2
movss dword [ebp - 0xc], xmm2
comiss xmm1, xmm0
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x18], xmm0
jae 0x100879dd
comiss xmm1, xmm5
jae 0x100879dd
movss xmm3, dword [0x10162728]
movaps xmm6, xmm3
movss dword [ebp - 0x28], xmm6
cmp eax, 1
jne 0x100874ad
movss xmm4, dword [edi + 0x1538]
movss xmm7, dword [edi + 0x18ac]
addss xmm4, xmm4
movaps xmm0, xmm4
addss xmm0, xmm7
comiss xmm0, xmm5
jbe 0x100874a8
movaps xmm6, xmm5
subss xmm6, xmm7
divss xmm6, xmm4
comiss xmm1, xmm6
ja 0x100879dd
minss xmm6, xmm3
comiss xmm1, xmm6
movss dword [ebp - 0x28], xmm6
jae 0x100879dd
movss xmm7, dword [ebp - 0x50]
comiss xmm6, xmm3
setae byte [ebp - 2]
test eax, eax
jne 0x100874c8
xor ecx, ecx
test dl, dl
sete cl
lea ecx, [ecx*8 + 4]
jmp 0x100874f0
mov ecx, dword [esi + 8]
mov eax, 8
and ecx, 0x401
mov dword [ebp - 0x24], 0
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
test dl, dl
cmovne eax, dword [ebp - 0x24]
or ecx, eax
mov eax, dword [0x101e0c0c]
movups xmm0, xmmword [eax + 0x1688]
comiss xmm1, xmm0
movaps xmm4, xmm0
shufps xmm4, xmm0, 0xff
mulss xmm4, dword [eax + 0x1500]
movups xmmword [ebp - 0x38], xmm0
jbe 0x10087519
xorps xmm0, xmm0
jmp 0x1008751d
minss xmm0, xmm3
movss xmm5, dword [0x10162960]
movss xmm6, dword [0x101626c8]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 0x34]
comiss xmm1, xmm0
jbe 0x10087548
xorps xmm0, xmm0
jmp 0x1008754c
minss xmm0, xmm3
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x30]
shl eax, 8
or edx, eax
comiss xmm1, xmm0
jbe 0x1008756c
xorps xmm0, xmm0
jmp 0x10087570
minss xmm0, xmm3
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm4
jbe 0x1008758b
xorps xmm4, xmm4
jmp 0x1008758f
minss xmm4, xmm3
mulss xmm4, xmm5
movaps xmm0, xmm2
push ecx
addss xmm0, xmm3
movss dword [ebp - 0x30], xmm7
push ecx
mov ecx, dword [esi + 0x274]
addss xmm4, xmm6
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [esi + 0x44]
cvttss2si eax, xmm4
movss dword [esp], xmm0
shl eax, 0x18
or eax, edx
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1007d7d0
movss xmm0, dword [ebp - 0x1c]
movss xmm6, dword [0x101627c4]
movss xmm2, dword [0x101626c8]
subss xmm0, xmm6
movss xmm4, dword [0x10162800]
mulss xmm0, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm0, xmm3
jbe 0x1008760e
xorps xmm3, xmm3
jmp 0x10087612
minss xmm3, xmm4
movss xmm1, dword [ebp - 0x18]
movss xmm5, dword [0x10163760]
subss xmm1, xmm6
xorps xmm3, xmm5
mulss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x1008763f
xorps xmm2, xmm2
jmp 0x10087643
minss xmm2, xmm4
cmp dword [ebp - 8], 0
xorps xmm2, xmm5
movss xmm4, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0xc]
subss xmm4, xmm2
addss xmm2, dword [ebp - 0x48]
subss xmm1, xmm3
addss xmm3, dword [ebp - 0x44]
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x44], xmm3
jne 0x100876a3
movss xmm1, dword [esi + 0x1c]
subss xmm2, xmm4
subss xmm1, dword [ebp - 0x10]
movss xmm6, dword [esi + 0x58]
movss xmm5, dword [esi + 0x2c]
movss dword [ebp - 0x18], xmm6
movaps xmm4, xmm1
movss dword [ebp - 0x14], xmm4
jmp 0x100876cb
movss xmm5, dword [esi + 0x30]
movaps xmm2, xmm3
subss xmm2, xmm1
movss xmm1, dword [esi + 0x5c]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [esi + 0x20]
subss xmm1, dword [ebp - 0x10]
movaps xmm4, xmm1
movss dword [ebp - 0x14], xmm1
movaps xmm3, xmm5
movss dword [ebp - 0xc], xmm5
maxss xmm3, xmm4
movss dword [ebp - 0x1c], xmm2
comiss xmm3, xmm0
ja 0x100876e9
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm0, dword [0x10162728]
maxss xmm3, xmm0
divss xmm1, xmm3
movss xmm3, dword [edi + 0x156c]
mulss xmm1, xmm2
movss dword [ebp - 0x10], xmm3
comiss xmm3, xmm1
ja 0x1008771b
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [ebp - 0x10], xmm3
divss xmm0, xmm2
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 1]
cmp dword [edi + 0x19ac], eax
mov edx, eax
push 0x2000
push ecx
lea ecx, [ebp - 4]
mov byte [ebp - 1], 0
push ecx
lea ecx, [ebp - 0x50]
sete byte [ebp - 3]
movss dword [ebp - 0x24], xmm0
mulss xmm0, xmm3
movss dword [ebp - 0x2c], xmm0
call fcn.100857c0
movss xmm1, dword [ebp - 0xc]
xorps xmm2, xmm2
subss xmm1, dword [ebp - 0x14]
movss xmm7, dword [0x10162728]
add esp, 0xc
movaps xmm0, xmm7
maxss xmm1, xmm7
divss xmm0, xmm1
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 0x14], xmm0
mulss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x10087791
xorps xmm0, xmm0
jmp 0x10087795
minss xmm0, xmm7
cmp byte [ebp - 1], 0
movss xmm4, dword [ebp - 0x1c]
subss xmm4, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x24]
movaps xmm6, xmm4
mulss xmm6, xmm0
mulss xmm6, xmm1
je 0x1008791c
cmp byte [ebp - 2], 0
je 0x1008791c
movss xmm5, dword [ebp - 0x2c]
comiss xmm7, xmm5
jbe 0x1008791c
cmp dword [ebp - 8], 0
jne 0x100877eb
movss xmm0, dword [ebp - 0x50]
mov ecx, 0x2c0c
movss xmm3, dword [edi + 0xe0]
jmp 0x100877fd
movss xmm0, dword [ebp - 0x4c]
mov ecx, 0x2c10
movss xmm3, dword [edi + 0xe4]
subss xmm3, xmm0
mulss xmm3, xmm1
comiss xmm2, xmm3
jbe 0x1008780f
xorps xmm3, xmm3
jmp 0x10087813
minss xmm3, xmm7
mov eax, dword [0x101e0c0c]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1998], edx
mov byte [eax + 0x199c], 0
test edx, edx
je 0x10087848
cmp dword [eax + 0x19a0], edx
je 0x10087848
mov dword [eax + 0x19a8], 0
mov dword [eax + 0x19a4], 0
xor dl, dl
cmp byte [ebp - 3], dl
jne 0x1008788a
comiss xmm3, xmm6
jb 0x10087881
movaps xmm0, xmm6
addss xmm0, xmm5
comiss xmm0, xmm3
jb 0x10087881
movaps xmm1, xmm3
movaps xmm0, xmm5
subss xmm1, xmm6
movss xmm6, dword [0x101626c8]
mulss xmm0, xmm6
subss xmm1, xmm0
movss dword [edi + ecx], xmm1
jmp 0x10087892
mov dl, 1
mov dword [edi + ecx], 0
movss xmm6, dword [0x101626c8]
movaps xmm0, xmm5
movaps xmm1, xmm3
subss xmm1, dword [edi + ecx]
mulss xmm0, xmm6
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm7
subss xmm0, xmm5
divss xmm1, xmm0
comiss xmm2, xmm1
jbe 0x100878bf
xorps xmm1, xmm1
jmp 0x100878c3
minss xmm1, xmm7
cmp dword [ebp - 8], 0
mulss xmm1, dword [ebp - 0xc]
addss xmm1, xmm6
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jne 0x100878e4
movss dword [esi + 0x58], xmm0
jmp 0x100878e9
movss dword [esi + 0x5c], xmm0
movss xmm1, dword [ebp - 0x14]
mulss xmm1, xmm0
comiss xmm2, xmm1
ja 0x100878fe
movaps xmm2, xmm1
minss xmm2, xmm7
movaps xmm6, xmm4
mulss xmm6, xmm2
mulss xmm6, dword [ebp - 0x24]
test dl, dl
je 0x1008791c
subss xmm3, xmm6
subss xmm3, dword [ebp - 0x2c]
movss dword [edi + ecx], xmm3
movss xmm1, dword [ebp - 0x28]
mov ecx, 0xf
call fcn.10063c50
cmp dword [ebp - 8], 0
jne 0x10087976
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x4c]
movss dword [ebp - 0x34], xmm1
mulss xmm0, xmm6
addss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x38], xmm0
addss xmm0, dword [ebp - 0x10]
minss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
jmp 0x100879b9
movss xmm1, dword [ebp - 0x44]
subss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x50]
subss xmm0, xmm7
mulss xmm1, xmm6
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm1, dword [ebp - 0x4c]
addss xmm0, xmm7
movss dword [ebp - 0x34], xmm1
addss xmm1, dword [ebp - 0x10]
movss dword [ebp - 0x30], xmm0
minss xmm1, dword [ebp - 0x40]
movss dword [ebp - 0x2c], xmm1
movss xmm0, dword [edi + 0x1568]
push 0xf
push ecx
mov ecx, dword [esi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1007d7d0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret