Function at 0x1008f920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [0x101e0c0c]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x34], esi
mov eax, dword [edi + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [edi + 0x198c]
mov dword [ebp - 0x30], eax
cmp byte [eax + 0x7f], 0
je 0x1008f96c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
ret
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [0x10162878]
movss xmm1, dword [0x10162a14]
call fcn.1006ebc0
movss xmm0, dword [edi + 0x1538]
xorps xmm6, xmm6
mov edx, dword [edi + 0x198c]
addss xmm0, xmm0
comiss xmm6, dword [edx + 0x16c]
addss xmm0, dword [edi + 0x18ac]
movss dword [ebp - 0x3c], xmm0
jbe 0x1008f9cf
mov edx, dword [edx + 0x1bc]
test edx, edx
je 0x1008f9cf
mov ecx, dword [edx + 0xc]
lea eax, [ecx + 1]
test eax, eax
cmovns ecx, eax
cmp ecx, dword [edx + 0x2c]
jge 0x1008fdbe
cmp esi, 0xffffffff
jae 0x1008f9e9
mov al, byte [esi]
test al, al
je 0x1008f9e9
cmp al, 0x23
jne 0x1008f9e3
cmp byte [esi + 1], al
je 0x1008f9e9
inc esi
cmp esi, 0xffffffff
jb 0x1008f9d4
call fcn.1006e8c0
mov ecx, dword [ebp - 0x34]
call fcn.1006e840
mov edx, dword [edi + 0x2bec]
movss xmm0, dword [ebx + 4]
and edx, 0xff9fffff
movss xmm7, dword [ebx]
or edx, 0x1103e8
mov eax, edx
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebx + 8]
shr eax, 1
not al
mov dword [ebp - 0x38], edx
and al, 1
movss dword [ebp - 0x18], xmm7
mov dword [ebp - 0x48], eax
movss dword [ebp - 0x10], xmm0
je 0x1008fa3c
movss xmm1, dword [ebx + 0xc]
jmp 0x1008fa44
movss xmm1, dword [0x10162728]
movss xmm3, dword [0x10162a00]
xorps xmm4, xmm4
comiss xmm7, xmm4
movss xmm2, dword [0x101626c8]
movss dword [ebp - 0xc], xmm1
jb 0x1008fa66
movaps xmm5, xmm2
jmp 0x1008fa69
movaps xmm5, xmm3
movss xmm6, dword [0x10162960]
movaps xmm0, xmm7
mulss xmm0, xmm6
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [ebx + 4]
comiss xmm0, xmm4
mov dword [ebp - 0x28], eax
jb 0x1008fa92
movaps xmm5, xmm2
jmp 0x1008fa95
movaps xmm5, xmm3
mulss xmm0, xmm6
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [ebx + 8]
comiss xmm0, xmm4
mov dword [ebp - 0x24], eax
jb 0x1008fab3
movaps xmm5, xmm2
jmp 0x1008fab6
movaps xmm5, xmm3
comiss xmm1, xmm4
mulss xmm0, xmm6
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [ebp - 0x20], eax
jae 0x1008facd
movaps xmm2, xmm3
mulss xmm1, xmm6
xor ecx, ecx
addss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [ebp - 0x1c], eax
xor al, al
mov byte [ebp - 0x29], al
test dl, 0x10
jne 0x1008fce6
cmp byte [ebp - 0x48], cl
je 0x1008faf8
movss xmm0, dword [ebx + 0xc]
jmp 0x1008fb00
movss xmm0, dword [0x10162728]
movss xmm1, dword [ebx + 4]
push ecx
push ecx
movss dword [ebp - 0x54], xmm1
movss xmm1, dword [ebx + 8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov ecx, str.ColorButton
push edx
lea edx, [ebp - 0x58]
movss dword [ebp - 0x58], xmm7
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x4c], xmm0
call fcn.10091e60
add esp, 0xc
test al, al
je 0x1008fbc3
test byte [ebp - 0x38], 4
jne 0x1008fbc3
movups xmm0, xmmword [ebp - 0x58]
mov eax, dword [0x101e0c0c]
push ecx
movups xmmword [edi + 0x2bf0], xmm0
push str.picker
mov ecx, dword [eax + 0x198c]
call fcn.10065a90
mov ecx, eax
call fcn.1006ef60
mov eax, dword [ebp - 0x30]
movss xmm1, dword [eax + 0x114]
movss xmm0, dword [eax + 0x120]
addss xmm0, dword [edi + 0x1548]
mov eax, dword [0x101e0c0c]
subss xmm1, dword [0x10162728]
movss dword [eax + 0x1a50], xmm0
mov dword [eax + 0x1a54], 0
movss dword [eax + 0x1a4c], xmm1
mov dword [eax + 0x1a58], 0
mov dword [eax + 0x1a30], 1
mov ecx, str.picker
call fcn.1006f470
test al, al
je 0x1008fce3
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x198c]
mov dword [ebp - 0x38], ecx
cmp eax, esi
je 0x1008fc28
mov edx, esi
mov ecx, eax
call fcn.100851e0
mov ecx, dword [0x101e0c0c]
xorps xmm6, xmm6
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x1008fc2b
xorps xmm1, xmm1
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], 0
call fcn.10065e10
jmp 0x1008fc2b
xorps xmm6, xmm6
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, dword [0x10162840]
mov ecx, dword [0x101e0c0c]
ucomiss xmm0, xmm6
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [ebp - 0x3c], ecx
lahf
test ah, 0x44
jp 0x1008fc62
movss xmm0, dword [ecx + 0x220]
lea esi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [esi + 4]
mov edx, dword [esi]
cmp edx, eax
jne 0x1008fc9e
lea ecx, [edx + 1]
test eax, eax
je 0x1008fc8a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1008fc8f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100746c0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
lea eax, [edi + 0x2bf0]
inc dword [esi]
mov edx, ebx
push eax
push 0x250080
mov ecx, 0x10160eb4
call fcn.10090170
add esp, 8
mov byte [ebp - 0x29], al
call fcn.1006e1e0
call fcn.1006f4f0
mov esi, dword [ebp - 0x38]
test esi, esi
jne 0x1008fd2b
mov al, byte [ebp - 0x29]
jmp 0x1008fce8
mov al, byte [ebp - 0x29]
xor esi, esi
movups xmm0, xmmword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x10163030]
movups xmmword [ebp - 0x18], xmm0
test al, al
je 0x1008fd2b
cmp byte [ebp - 0x48], 0
movss xmm0, dword [ebp - 0x18]
movss dword [ebx], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebx + 4], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [ebx + 8], xmm0
je 0x1008fd2b
movss xmm0, dword [ebp - 0xc]
movss dword [ebx + 0xc], xmm0
mov eax, dword [0x101e0c0c]
mov ecx, dword [eax + 0x198c]
mov eax, dword [ecx + 0x1c0]
test eax, eax
jle 0x1008fdbe
dec eax
mov dword [ecx + 0x1c0], eax
call fcn.1006ea10
test esi, esi
je 0x1008fd6d
mov eax, dword [edi + 0x19ac]
test eax, eax
je 0x1008fd6d
cmp dword [edi + 0x19d4], esi
mov esi, dword [ebp - 0x30]
jne 0x1008fd70
mov dword [esi + 0x10c], eax
jmp 0x1008fd70
mov esi, dword [ebp - 0x30]
mov cl, byte [ebp - 0x29]
test cl, cl
je 0x1008fdab
mov eax, dword [0x101e0c0c]
mov edx, dword [eax + 0x19ac]
cmp edx, dword [esi + 0x10c]
je 0x1008fd97
test edx, edx
je 0x1008fd97
cmp byte [eax + 0x1c68], 0
je 0x1008fdbe
mov byte [eax + 0x19bf], 1
mov eax, dword [eax + 0x198c]
or dword [eax + 0x110], 4
mov al, cl
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012838d
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3