Function at 0x140006de0
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
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rbp + 0x1b0], 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 ecx, 0x20
call fcn.14000b8c0
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14000f140]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [str.perfmon.exe]
movups xmmword [rax], xmm0
mov ecx, dword [0x14000e668]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x14000e66c]
mov word [rax + 0x14], cx
xor ecx, ecx
mov word [rax + 0x16], cx
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rcx
mov ecx, 0x20
call fcn.14000b8c0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rdx, [rax + 0x20]
mov qword [rsp + 0x60], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x50]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.14000b5f0
mov qword [rsp + 0x58], rax
lea r9, [0x14000a650]
mov edx, 0x20
mov r8d, 1
lea rcx, [rsp + 0x30]
call fcn.14000b8fc
movabs r15, 0x7fffffffff67697f
mov r13d, 0xff
movabs r12, 0x7fffffffffffffff
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp rdi, r14
je 0x140006fcd
mov rsi, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140006f23
mov rsi, qword [rdi]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140006f72
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.14000ab20
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, [0x14000ad00]
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 0x140006fc0
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006fb7
nop dword [rax]
mov rdx, rsi
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x14000706b
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006f90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 0x20
cmp rdi, r14
jne 0x140006f16
call fcn.1400033d0
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 0x140007071
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140007071
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 0x140007071
lea rcx, [rsp + 0x28]
call fcn.1400012b0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp rax, r15
je 0x140007057
mov ecx, 1
cmovl ecx, r13d
test cl, cl
jns 0x140007057
add rax, 0x989680
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14000b2f0
jmp 0x140006f03
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
call fcn.14000b2f0
jmp 0x140006f03
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