Function at 0x140006960
Capabilities:
Check for outputdebugstring error
Enumerate processes
Print debug messages
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xb
lea rcx, [rsp + 0x30]
call fcn.140011530
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov ecx, 0x20
call fcn.1400127e0
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rcx, [rax + 0x20]
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140010880
add rbx, 0x20
mov qword [rsp + 0x70], rbx
add rdi, 0x20
lea rax, [rsp + 0x50]
cmp rdi, rax
jne 0x140006a24
mov rdx, rbx
mov rcx, rbx
call fcn.1400118b0
mov qword [rsp + 0x58], rbx
lea r9, [fcn.140002300]
mov edx, 0x20
mov r8d, 1
lea rcx, [rsp + 0x30]
call fcn.14001281c
movabs r12, 0x7fffffffff67697f
movabs r15, 0x7fffffffffffffff
nop word [rax + rax]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp rdi, r14
je 0x140006b5c
mov rsi, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140006ab0
mov rsi, qword [rdi]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140006aff
lea rdx, str.Failed_to_create_process_snapshot._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011200
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1400113e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140006b4f
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006b46
nop word [rax + rax]
mov rdx, rsi
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140006be0
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006b20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 0x20
cmp rdi, r14
jne 0x140006aa3
call fcn.140003090
lea rdx, str.x64dbg__OllyDbg__IDA_Pro__x64dbg_unsigned__Visual_Studio_Debugger__LLDB_Debugger
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140006be6
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140006be6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Hello__debugger
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140006be6
lea rcx, [rsp + 0x28]
call fcn.1400020a0
mov rax, qword [rsp + 0x28]
cmp rax, r12
jge 0x140006bcc
add rax, 0x989680
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140012010
jmp 0x140006a90
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x20]
call fcn.140012010
jmp 0x140006a90
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3