Function at 0x10070e20
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
push 0xffffffffffffffff
push 0x10117551
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x8c], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x7c], 0
mov ecx, dword [0x1017bfd8]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x19e4]
cmp byte [edi + 0x7f], 0
jne 0x10071852
push ecx
push str.ColorButton
mov ecx, edi
call fcn.100448e0
movss xmm7, dword [ebx + 0xc]
xorps xmm4, xmm4
mov ecx, dword [0x1017bfd8]
ucomiss xmm7, xmm4
mov dword [ebp - 0x9c], eax
movss xmm1, dword [ecx + 0x153c]
addss xmm1, xmm1
lahf
addss xmm1, dword [ecx + 0x1900]
test ah, 0x44
jp 0x10070ee5
movaps xmm7, xmm1
movss dword [ebx + 0xc], xmm7
movss xmm2, dword [ebx + 0x10]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10070f03
movaps xmm2, xmm1
mulss xmm2, dword [0x10144fec]
movss dword [ebx + 0x10], xmm2
comiss xmm2, xmm1
movss xmm6, dword [edi + 0xcc]
movss xmm5, dword [edi + 0xc8]
movaps xmm3, xmm6
addss xmm6, dword [0x101450a4]
movss xmm0, dword [edi + 0xc8]
addss xmm3, xmm2
addss xmm5, xmm7
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x20], xmm6
addss xmm3, dword [0x101450a4]
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x18], xmm3
jb 0x10070f5d
mov eax, dword [ebp - 0x98]
movss xmm4, dword [eax + 0x153c]
subss xmm5, xmm0
movaps xmm1, xmm4
subss xmm3, xmm6
lea ecx, [ebp - 0x80]
movss dword [ebp - 0x80], xmm5
movss dword [ebp - 0x7c], xmm3
call fcn.10044ce0
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x24]
push 0
call fcn.10044e10
add esp, 4
test al, al
je 0x10071852
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x75]
push 0
push eax
lea eax, [ebp - 0x81]
push eax
lea ecx, [ebp - 0x24]
call fcn.10062930
movss xmm6, dword [ebx + 0x10]
add esp, 0xc
minss xmm6, dword [ebx + 0xc]
movups xmm4, xmmword [ebp - 0x24]
mov edx, dword [ebp - 0xa4]
movss xmm0, dword [esi + 8]
movss xmm1, dword [esi + 4]
mulss xmm6, dword [0x10144fb8]
mov ecx, dword [ebp - 0x98]
movss xmm5, dword [0x10144fec]
movss xmm2, dword [esi]
movups xmmword [ebp - 0x24], xmm4
mov byte [ebp - 0x75], al
mov eax, edx
movss xmm3, dword [ebp - 0x20]
and eax, 0xfff9ffff
movss xmm7, dword [ecx + 0x1540]
test dl, 2
subss xmm3, dword [0x1014531c]
subss xmm4, dword [0x1014531c]
movss dword [ebp - 0x34], xmm0
cmove eax, edx
movss dword [ebp - 0x38], xmm1
movaps xmm0, xmm6
movss xmm1, dword [ebp - 0x18]
mulss xmm0, xmm5
mov dword [ebp - 0x88], eax
movss dword [ebp - 0x3c], xmm2
movss xmm2, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0x3f800000
minss xmm7, xmm0
movss dword [ebp - 0x7c], xmm6
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x90], xmm3
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0xa0], xmm7
subss xmm1, dword [0x10145018]
subss xmm2, dword [0x10145018]
movss dword [ebp - 0xa4], xmm1
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [0x10145040]
movss dword [ebp - 0x1c], xmm2
test eax, 0x40000
je 0x1007116f
comiss xmm1, dword [esi + 0xc]
jbe 0x1007116f
movss xmm0, dword [0x1014531c]
addss xmm2, xmm4
mov ecx, dword [ebp - 0x8c]
subss xmm0, xmm6
addss xmm4, xmm6
mov dword [ebp - 0x7c], 0xbf400000
movss dword [ebp - 0x90], xmm3
addss xmm2, xmm1
movss dword [ebp - 0x80], xmm0
movss dword [ebp - 0x94], xmm4
mulss xmm2, xmm5
cvttss2si esi, xmm2
call fcn.10042ac0
mov edx, 0xa
mov ecx, eax
push dword [ebp - 0x7c]
movaps xmm2, xmm7
movaps xmm1, xmm6
push dword [ebp - 0x80]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
call fcn.1006fbc0
add esp, 0x18
lea ecx, [ebp - 0x3c]
call fcn.10042ac0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 5
push ecx
mov ecx, dword [edi + 0x274]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0xa0]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1005cad0
mov esi, dword [ebp - 0x8c]
jmp 0x10071331
movss xmm0, dword [ecx + 0x1500]
xorps xmm3, xmm3
comiss xmm3, xmm0
jbe 0x10071184
xorps xmm0, xmm0
jmp 0x10071188
minss xmm0, xmm1
mulss xmm0, dword [0x10145264]
addss xmm2, xmm1
push ecx
mov dword [esp], 0x3f800000
subss xmm4, xmm1
push 0xf
addss xmm0, xmm5
push ecx
mov ecx, dword [edi + 0x274]
mov dword [esp], 0
movss dword [ebp - 0xa8], xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xa4]
addss xmm0, xmm1
shl eax, 0x18
push eax
lea eax, [ebp - 0xa8]
movss dword [ebp - 0x94], xmm4
push eax
lea eax, [ebp - 0x94]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x90]
subss xmm0, xmm1
push eax
movss dword [ebp - 0x90], xmm0
call fcn.1005ca20
test dword [ebp - 0x88], 0x20000
lea eax, [ebp - 0x3c]
movss xmm1, dword [0x10145040]
lea ecx, [ebp - 0x3c]
cmovne eax, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c], xmm0
shufps xmm0, xmm0, 0xff
comiss xmm1, xmm0
jbe 0x1007127f
mov dword [ebp - 0x94], 0xbf400000
mov dword [ebp - 0x90], 0xbf400000
call fcn.10042ac0
push dword [ebp - 0x90]
movss xmm2, dword [ebp - 0xa0]
or edx, 0xffffffff
push dword [ebp - 0x94]
movss xmm1, dword [ebp - 0x7c]
mov ecx, eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.1006fbc0
add esp, 0x18
jmp 0x100712a8
call fcn.10042ac0
movss xmm0, dword [ebp - 0xa0]
push 0xf
push ecx
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1005cad0
mov eax, dword [ebp - 0x98]
xorps xmm0, xmm0
movss xmm3, dword [0x10144fec]
movss xmm1, dword [eax + 0x1500]
mulss xmm1, xmm3
comiss xmm0, xmm1
jbe 0x100712d4
mov ecx, 0x3c3c3c
xorps xmm1, xmm1
jmp 0x10071300
movaps xmm0, xmm1
minss xmm0, dword [0x10145040]
minss xmm1, dword [0x10145040]
mulss xmm0, dword [0x10145264]
addss xmm0, xmm3
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, 0x3c3c3c
mulss xmm1, dword [0x10145264]
push ecx
mov ecx, dword [edi + 0x274]
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x18
or eax, 0x3c3c3c
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1005cc30
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
cmp dword [eax + 0x1a04], ecx
mov eax, dword [ebp - 0x88]
jne 0x100717e8
test eax, 0x200
jne 0x100717e8
call fcn.10051f40
test al, al
je 0x100717e2
test byte [ebp - 0x88], 2
mov edx, esi
push ecx
je 0x1007137c
push 0xc
mov ecx, str._COL3F
jmp 0x10071383
push 0x10
mov ecx, str._COL4F
call fcn.100520d0
mov ecx, dword [0x1017bfd8]
add esp, 8
mov dword [ebp - 0x7c], 0
mov edx, esi
mov dword [ebp - 0x80], 0
mov eax, dword [ecx + 0x19e4]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19e4]
mov ecx, str.ColorButton
push dword [ebp - 0x88]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x58]
addss xmm0, dword [0x101450e0]
movss dword [eax + 0xc8], xmm0
maxss xmm0, dword [eax + 0xe0]
movss dword [eax + 0xe0], xmm0
call fcn.10070e20
movss xmm1, dword [0x10145324]
add esp, 0xc
xorps xmm0, xmm0
call fcn.1004da50
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x158], 0x10139b48
mov dword [ebp - 0x148], 0x10142090
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x7c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x10142098
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x140], 0x1013f0ec
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x5c]
movss xmm0, dword [esi]
mulss xmm0, dword [0x10145264]
cvttss2si edx, xmm0
call fcn.10028100
mov byte [ebp - 4], 3
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp - 0x148]
push dword [ebp - 0x4c]
cmova edx, dword [ebp - 0x5c]
call fcn.1001e3d0
add esp, 4
mov edx, 0x101417e8
mov ecx, eax
call fcn.10015d30
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov esi, eax
movss xmm0, dword [edi + 4]
mulss xmm0, dword [0x10145264]
cvttss2si edx, xmm0
call fcn.10028100
mov byte [ebp - 4], 4
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
cmova edx, dword [ebp - 0x74]
push dword [ebp - 0x64]
mov ecx, esi
call fcn.1001e3d0
add esp, 4
mov edx, 0x101417e8
mov ecx, eax
call fcn.10015d30
movss xmm0, dword [edi + 8]
lea ecx, [ebp - 0x2c]
mulss xmm0, dword [0x10145264]
mov esi, eax
cvttss2si edx, xmm0
call fcn.10028100
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov ecx, esi
push dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x2c]
call fcn.1001e3d0
add esp, 4
mov edx, 0x101417e8
mov ecx, eax
call fcn.10015d30
movss xmm0, dword [edi + 0xc]
lea ecx, [ebp - 0x44]
mulss xmm0, dword [0x10145264]
mov esi, eax
cvttss2si edx, xmm0
call fcn.10028100
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov ecx, esi
push dword [ebp - 0x34]
cmova edx, dword [ebp - 0x44]
call fcn.1001e3d0
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100715e5
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100715db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100716b1
push ecx
push edx
call fcn.1011035b
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1007162f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071625
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100716b1
push ecx
push edx
call fcn.1011035b
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x10071675
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007166b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100716b1
push ecx
push edx
call fcn.1011035b
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x100716c1
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100716b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100716b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov ecx, dword [0x1017bfd8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19e4]
lea ecx, [ebp - 0x140]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x58]
addss xmm0, dword [0x10145110]
movss dword [eax + 0xc8], xmm0
maxss xmm0, dword [eax + 0xe0]
movss dword [eax + 0xe0], xmm0
lea eax, [ebp - 0x5c]
push eax
call fcn.1001d750
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova ecx, dword [ebp - 0x5c]
xor edx, edx
call fcn.10062390
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10071772
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071768
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071768
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.10052070
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x10142098
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x140]
call fcn.1001d2e0
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x88]
jmp 0x100717ee
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0x8c]
test al, 0x40
jne 0x1007180b
cmp byte [ebp - 0x81], 0
je 0x1007180b
and eax, 0x60002
mov edx, edi
push eax
call fcn.10071880
add esp, 4
mov dl, byte [ebp - 0x75]
test dl, dl
je 0x1007184e
mov eax, dword [0x1017bfd8]
mov ecx, dword [eax + 0x1a04]
cmp ecx, dword [ebp - 0x9c]
je 0x1007183a
test ecx, ecx
je 0x1007183a
cmp byte [eax + 0x1cc0], 0
jne 0x1007183a
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov byte [eax + 0x1a17], 1
mov eax, dword [eax + 0x19e4]
or dword [eax + 0x110], 4
mov al, dl
jmp 0x10071854
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010fe2d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret