Function at 0x140006900
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 [0x14001a040]
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.140011470
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov ecx, 0x20
call fcn.140012720
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.1400107c0
add rbx, 0x20
mov qword [rsp + 0x70], rbx
add rdi, 0x20
lea rax, [rsp + 0x50]
cmp rdi, rax
jne 0x1400069c4
mov rdx, rbx
mov rcx, rbx
call fcn.1400117f0
mov qword [rsp + 0x58], rbx
lea r9, [fcn.140002310]
mov edx, 0x20
mov r8d, 1
lea rcx, [rsp + 0x30]
call fcn.14001275c
movabs r12, 0x7fffffffff67697f
movabs r15, 0x7fffffffffffffff
nop word [rax + rax]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp rdi, r14
je 0x140006afc
mov rsi, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140006a50
mov rsi, qword [rdi]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140006a9f
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.140011140
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, [0x140011320]
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 0x140006aef
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006ae6
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 0x140006b80
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006ac0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 0x20
cmp rdi, r14
jne 0x140006a43
call fcn.140003010
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 0x140006b86
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140006b86
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 0x140006b86
lea rcx, [rsp + 0x28]
call fcn.1400020b0
mov rax, qword [rsp + 0x28]
cmp rax, r12
jge 0x140006b6c
add rax, 0x989680
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140011f50
jmp 0x140006a30
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x20]
call fcn.140011f50
jmp 0x140006a30
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