Function at 0x140006110
Capabilities:
Create thread

Disassembly:
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rbp + 0x30], rax
movdqa xmm1, xmmword [0x1400931a0]
movdqu xmmword [rsp + 0x30], xmm1
mov dl, 0x17
mov r8b, 0xa
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
xor dl, cl
mov byte [rsp + 0x40], dl
xor r8b, cl
mov byte [rsp + 0x41], r8b
mov byte [rsp + 0x42], 0
lea rax, [rsp + 0x31]
mov qword [rbp + 0x10], rax
lea rcx, [rsp + 0x31]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400061b6
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x10]
call fcn.1400019b0
sub eax, 1
je 0x140006360
sub eax, 1
je 0x140006357
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 1
je 0x14000634e
lea rdx, str.Close_this_to_disable_DarkTool_Overlay_n
call fcn.140008e20
mov rcx, rax
lea rdx, str.Press_INS_to_open_Menu_n
call fcn.140008e20
mov rcx, rax
lea rdx, str.Press_END_to_close__panic_button__n
call fcn.140008e20
lea rcx, [rsp + 0x48]
call fcn.1400092e0
mov rdx, rax
lea rcx, [0x1400a10a0]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rax + 0xa0]
movups xmmword [rcx + 0x20], xmm1
mov rax, qword [rax + 0xb0]
mov qword [rcx + 0x30], rax
mov eax, dword [rdx + 0xb8]
mov dword [rcx + 0x38], eax
mov ecx, 8
call fcn.140087700
lea rcx, [0x140005e30]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140015420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14000633b
cmp dword [rbp + 0x28], 0
je 0x14000632f
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000632f
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
call fcn.1400059c0
lea r8, [0x1400a10a0]
call fcn.140009910
nop
cmp dword [rbp + 0x28], 0
je 0x14000638f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x28], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.Cant_connect_to_driver._Did_you_start_the_driver__n
jmp 0x14000636e
lea rdx, str.Cant_find_process._Did_you_start_the_game__n
jmp 0x140006367
lea rdx, str.Cant_create_events._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008e20
lea rdx, str.Press_enter_to_quit._n
mov rcx, rax
call fcn.140008e20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400875c0
add rsp, 0x140
pop rbp
ret