Function at 0x10069680
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, 0x68
mov eax, dword [0x101e0c0c]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], eax
test byte [edi + 8], 0x42
jne 0x10069fd4
cmp dword [edi + 0x90], 0
jg 0x10069fd4
cmp dword [edi + 0x94], 0
jg 0x10069fd4
cmp byte [edi + 0x7b], 0
je 0x10069fd4
movss xmm1, dword [eax + 0x18ac]
xor edx, edx
mov cl, byte [eax + 0xaf]
movaps xmm0, xmm1
mulss xmm0, dword [0x10162674]
mov esi, 4
test cl, cl
mulss xmm1, dword [0x10162754]
cmovne edx, esi
movss xmm2, dword [0x10162814]
addss xmm0, dword [edi + 0x44]
mov dword [ebp - 0x28], edx
addss xmm0, dword [0x10162728]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101626f4]
cvttss2si esi, xmm0
je 0x1006973f
movss dword [ebp - 0x1c], xmm2
jmp 0x10069747
xorps xmm4, xmm4
movss dword [ebp - 0x1c], xmm4
movss xmm0, dword [0x101629cc]
mov ecx, str.RESIZE
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 8], xmm0
call fcn.1006e840
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0xc], edx
jle 0x10069a87
nop dword [eax + eax]
movss xmm2, dword [edi + 0x18]
lea eax, [edx + edx*2]
movss xmm4, dword [eax*8 + 0x101e0118]
mulss xmm4, dword [edi + 0x14]
mov dword [ebp - 0x24], eax
mulss xmm2, dword [eax*8 + 0x101e011c]
movss xmm0, dword [eax*8 + 0x101e0120]
movss xmm1, dword [eax*8 + 0x101e0124]
movaps xmm6, xmm0
addss xmm4, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
mulss xmm0, dword [ebp - 0x1c]
movaps xmm5, xmm1
mulss xmm1, dword [ebp - 0x1c]
movd xmm3, esi
cvtdq2ps xmm3, xmm3
mulss xmm6, xmm3
mulss xmm5, xmm3
addss xmm6, xmm4
subss xmm4, xmm0
addss xmm5, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x5c], xmm6
comiss xmm4, xmm6
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x58], xmm5
jbe 0x10069810
movss dword [ebp - 0x64], xmm6
movss dword [ebp - 0x5c], xmm4
comiss xmm2, xmm5
jbe 0x1006981f
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x58], xmm2
push 0x2020
lea eax, [ebp - 1]
mov ecx, edi
push eax
lea eax, [ebp - 2]
push eax
push edx
call fcn.10065af0
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.100857c0
mov cl, byte [ebp - 2]
add esp, 0xc
test cl, cl
jne 0x10069853
mov al, byte [ebp - 1]
test al, al
je 0x10069af9
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x20]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1c64], eax
mov al, byte [ebp - 1]
test al, al
je 0x10069a45
cmp byte [ecx + 0x3d5], 0
je 0x100698c5
test edx, edx
jne 0x100698c5
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.100690c0
add esp, 8
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 8], xmm2
call fcn.10065db0
mov edx, dword [ebp - 0x14]
cmp byte [ebp - 1], 0
je 0x10069a5c
mov ecx, 0x20
jmp 0x10069a67
mov eax, dword [ebp - 0x24]
mov edx, edi
movss xmm7, dword [ecx + 0xe4]
subss xmm7, dword [ecx + 0x19d0]
movd xmm3, esi
movss xmm2, dword [eax*8 + 0x101e0124]
movss xmm6, dword [eax*8 + 0x101e0120]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x1c]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x1c]
movss xmm4, dword [eax*8 + 0x101e0118]
movss xmm5, dword [eax*8 + 0x101e011c]
cvtdq2ps xmm3, xmm3
xorps xmm3, xmmword [0x10163760]
mulss xmm6, xmm3
mulss xmm2, xmm3
subss xmm6, xmm0
subss xmm2, xmm1
mulss xmm6, xmm4
mulss xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x19cc]
addss xmm2, xmm1
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm1
lea ecx, [ebp - 0x44]
addss xmm1, dword [edi + 0x18]
addss xmm6, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm7, xmm2
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm6
subss xmm3, xmm7
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm2, xmm6
subss xmm6, xmm0
addss xmm3, xmm7
subss xmm7, xmm1
movss dword [ebp - 0xc], xmm2
mulss xmm6, xmm4
mulss xmm7, xmm5
addss xmm6, xmm0
movss dword [ebp - 0x10], xmm3
addss xmm7, xmm1
subss xmm6, xmm2
subss xmm7, xmm3
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 8], xmm6
movss dword [ebp - 0x38], xmm7
push dword [ebp - 0x38]
movss dword [ebp - 0x30], xmm7
push dword [ebp - 0x3c]
call fcn.100690c0
mov ecx, dword [ebp - 0x24]
add esp, 8
movss xmm3, dword [ebp - 0x44]
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm3
movss xmm0, dword [ecx*8 + 0x101e0118]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10069a0d
movss xmm2, dword [ebp - 0xc]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 8]
subss xmm2, xmm0
movss dword [ebp - 0xc], xmm2
movss xmm0, dword [ecx*8 + 0x101e011c]
movss xmm2, dword [ebp - 0x40]
ucomiss xmm0, xmm1
movss dword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x10069a3f
movss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x30]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
test edx, edx
je 0x100698b1
test al, al
jne 0x100698bb
test cl, cl
je 0x10069a7a
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x10162728]
call fcn.10063c50
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [ebx + 0xc]
jl 0x10069780
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x28], ecx
jbe 0x10069d50
nop word [eax + eax]
movss xmm4, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
test ecx, ecx
jne 0x10069b01
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10162814]
addss xmm3, dword [0x10162814]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x50], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x48], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x4c], xmm1
jmp 0x10069b8f
mov edx, dword [ebp - 0x14]
jmp 0x10069a48
cmp ecx, 1
jne 0x10069b18
movaps xmm0, xmm1
addss xmm1, dword [0x10162814]
movss dword [ebp - 0x4c], xmm1
jmp 0x10069b69
cmp ecx, 2
jne 0x10069b50
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10162814]
addss xmm2, dword [0x10162814]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x50], xmm0
addss xmm4, xmm5
subss xmm1, xmm5
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x4c], xmm1
jmp 0x10069b8a
cmp ecx, 3
jne 0x10069d66
movaps xmm0, xmm4
addss xmm4, dword [0x10162814]
movss dword [ebp - 0x4c], xmm4
subss xmm0, dword [0x10162814]
movss dword [ebp - 0x54], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm3, xmm0
subss xmm2, xmm0
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x48], xmm2
push 0x20
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [ecx + 4]
mov ecx, edi
push eax
call fcn.10065af0
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.100857c0
mov edx, dword [ebp - 0x20]
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x10069bcb
movss xmm0, dword [edx + 0x19a4]
comiss xmm0, dword [0x10162638]
ja 0x10069bd5
cmp byte [ebp - 2], 0
je 0x10069d40
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 1
add eax, 3
cmp byte [ebp - 2], 0
mov dword [edx + 0x1c64], eax
je 0x10069d43
mov eax, dword [ebx + 8]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0xc]
xorps xmm5, xmm5
movss xmm7, dword [edi + 0x10]
movaps xmm0, xmm6
movss dword [ebp - 8], xmm4
movaps xmm1, xmm7
mov dword [eax], ecx
movss dword [ebp - 0x14], xmm5
test ecx, ecx
jne 0x10069c33
movss xmm1, dword [edx + 0xe4]
subss xmm1, dword [edx + 0x19d0]
addss xmm1, dword [0x10162814]
jmp 0x10069c6e
cmp ecx, 1
jne 0x10069c42
movss xmm5, dword [0x10162728]
jmp 0x10069c56
cmp ecx, 2
jne 0x10069c51
movss xmm4, dword [0x10162728]
jmp 0x10069c19
cmp ecx, 3
jne 0x10069c78
movss xmm0, dword [edx + 0xe0]
subss xmm0, dword [edx + 0x19cc]
addss xmm0, dword [0x10162814]
movss dword [ebp - 8], xmm4
movss dword [ebp - 0x14], xmm5
movaps xmm3, xmm7
lea ecx, [ebp - 0x44]
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [edi + 0x14]
subss xmm2, xmm0
mov edx, edi
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [ebp - 0x10], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [ebp - 0xc], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x30], xmm1
push dword [ebp - 0x30]
movss dword [ebp - 0x34], xmm0
push dword [ebp - 0x34]
call fcn.100690c0
movss xmm0, dword [ebp - 0x14]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x18], xmm0
lahf
test ah, 0x44
jp 0x10069d15
subss xmm0, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0xc]
subss xmm2, xmm0
movss dword [ebp - 0xc], xmm2
movss xmm0, dword [ebp - 8]
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x10069d40
subss xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x28]
jl 0x10069aa0
mov ecx, dword [0x101e0c0c]
mov edx, dword [ecx + 0x198c]
mov eax, dword [edx + 0x1c0]
test eax, eax
jg 0x10069d6e
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp - 0x20]
dec eax
mov dword [edx + 0x1c0], eax
mov eax, dword [esi + 0x1adc]
test eax, eax
je 0x10069f2e
cmp dword [eax + 0x2f0], edi
jne 0x10069f2e
mov eax, dword [esi + 0x1ac4]
cmp eax, 3
jne 0x10069db3
cmp byte [esi + 0xf9], 0
je 0x10069f2e
push ecx
lea edx, [eax - 2]
lea ecx, [ebp - 0x4c]
jmp 0x10069dc3
cmp eax, 4
jne 0x10069f2e
push ecx
lea edx, [eax - 2]
lea ecx, [ebp - 0x44]
mov dword [esp], 0
xorps xmm3, xmm3
push 0
call fcn.10070830
add esp, 8
xorps xmm2, xmm2
movss xmm4, dword [eax]
movss xmm5, dword [eax + 4]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x10069df9
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x10069f38
movss xmm0, dword [esi + 0xa8]
minss xmm0, dword [esi + 0xa4]
movss xmm3, dword [0x10162728]
mov byte [esi + 0x1af0], 0
mov byte [esi + 0x1aff], 1
mulss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10162980]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x101e0c0c]
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
movups xmm0, xmmword [eax + 0x17a8]
comiss xmm2, xmm0
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xff
mulss xmm1, dword [eax + 0x1500]
movups xmmword [ebp - 0x64], xmm0
jbe 0x10069e68
xorps xmm0, xmm0
jmp 0x10069e6c
minss xmm0, xmm3
movss xmm6, dword [0x10162960]
movss xmm7, dword [0x101626c8]
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x60]
comiss xmm2, xmm0
jbe 0x10069e97
xorps xmm0, xmm0
jmp 0x10069e9b
minss xmm0, xmm3
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x5c]
shl eax, 8
or ecx, eax
comiss xmm2, xmm0
jbe 0x10069ebb
xorps xmm0, xmm0
jmp 0x10069ebf
minss xmm0, xmm3
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm1
jbe 0x10069eda
xorps xmm1, xmm1
jmp 0x10069ede
minss xmm1, xmm3
mulss xmm1, xmm6
mov edx, edi
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x3c]
addss xmm5, dword [edi + 0x20]
addss xmm4, dword [edi + 0x1c]
movss dword [ebp - 0x38], xmm5
push dword [ebp - 0x38]
movss dword [ebp - 0x3c], xmm4
push dword [ebp - 0x3c]
call fcn.100690c0
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10069f3d
movss xmm0, dword [ebp - 8]
xorps xmm2, xmm2
jmp 0x10069f43
movss xmm0, dword [ebp - 8]
mov ecx, dword [0x101e0c0c]
movss xmm1, dword [ebp - 0x18]
movss xmm3, dword [0x101629cc]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x10069f7e
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x20], xmm0
jne 0x10069f7e
comiss xmm2, dword [ecx + 0x2c3c]
jb 0x10069f7e
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c3c], eax
movss xmm0, dword [ebp - 0xc]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10069fc8
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x10069fc8
comiss xmm2, dword [ecx + 0x2c3c]
jb 0x10069fc8
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c3c], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret