Function at 0x1800b6d20
Capabilities:
Create thread
Enumerate gui resources
Enumerate processes
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
xor r14d, r14d
mov rdi, qword [0x1802854a8]
mov rsi, qword [0x1802854b0]
cmp rdi, rsi
je 0x1800b6e4c
lea r15, str.CSignature::Initialize___failed_to_initialize:_n___n___n___n
movabs r12, 0xb000000000000000
movabs r13, 0xb000000000000008
movabs r14, 0xb000000000000010
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800b6e3c
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.1801d1800
mov qword [rbx], rax
test rax, rax
jne 0x1800b6e35
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0x3e
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x50], r12
mov rax, qword [rbx + 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x48], r13
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x40], r14
mov qword [rsp + 0x40], 3
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1800bd840
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x60]
call fcn.1800a3670
movsxd rax, dword [rbx + 0x18]
add qword [rbx], rax
add rdi, 8
cmp rdi, rsi
jne 0x1800b6d83
xor r14d, r14d
call fcn.1801d0b90
mov rbx, r14
mov esi, 1
xor eax, eax
lock cmpxchg dword [0x18028b0f8], esi
je 0x1800b6e86
cmp rbx, 0x20
jae 0x1800b6e6f
xor ecx, ecx
jmp 0x1800b6e71
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18028b0f8], esi
jne 0x1800b6e65
cmp qword [0x18028b100], 0
jne 0x1800b6ea4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18028b100], rax
mov eax, r14d
xchg dword [0x18028b0f8], eax
mov rcx, qword [0x18028caf0]
test rcx, rcx
jne 0x1800b6eee
nop dword [rax]
mov qword [rbp + 0x150], r14
lea rdx, [rbp + 0x150]
lea rcx, [0x1801cd960]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp + 0x150]
mov qword [0x18028caf0], rcx
test rcx, rcx
je 0x1800b6ec0
lea r8, [0x1801bc8a0]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x1802a54d8], rax
mov rdi, qword [0x180285548]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800b6f25
mov rax, qword [rbx + 0x30]
call qword [rax + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800b6f16
call fcn.1800b0100
test eax, eax
je 0x1800b6f4a
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.MH_failed_to_enable_all_hooks_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x18028c728]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov qword [rbp + 0x150], rax
test rax, rax
je 0x1800b6fb6
nop word [rax + rax]
mov ebx, dword [rax + 0x28]
lea r8, [rbp + 0x150]
lea rdx, [rsp + 0x30]
lea rcx, [0x180285500]
call fcn.1801d0180
mov rcx, qword [rax]
mov dword [rcx + 0x18], ebx
mov rax, qword [rbp + 0x150]
and dword [rax + 0x28], 0xffbfbfed
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
mov qword [rbp + 0x150], rax
test rax, rax
jne 0x1800b6f70
lea rcx, [0x18028d1f0]
call fcn.180193090
call fcn.1800f73d0
mov dword [rbp - 0x20], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800b7028
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1800b701f
lea rdx, str.ProcessHacker.exe
lea rcx, [rbp + 0xc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x1800b72e0
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800b6ff5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rdx, [0x18028dad0]
lea rcx, [0x18028dad0]
call fcn.1801063e0
mov byte [0x180284eaa], sil
mov rax, qword [0x18028c760]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x350]
lea rax, str.tf_party_chat__Its_killing_time._YOU_HAVE_NO_CHOICE._
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x35
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1800bd840
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov rcx, qword [0x18028c760]
call rbx
nop
lea rcx, [rsp + 0x60]
call fcn.1800a3670
mov rax, qword [0x18028c760]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x350]
lea rax, str.play_shivermetimbers_shivermetimbers.mp3
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x28
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1800bd840
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov rcx, qword [0x18028c760]
call rbx
nop
lea rcx, [rsp + 0x60]
call fcn.1800a3670
mov dword [rbp + 0x150], 0xffff96af
mov eax, dword [rbp + 0x150]
mov dword [rbp + 0x158], eax
mov rcx, qword [0x18028c728]
mov rax, qword [rcx]
lea r9, [0x18024df60]
lea r8, str.__s_
lea rdx, [rbp + 0x158]
call qword [rax + 0xb8]
mov rcx, qword [0x18028c728]
mov rax, qword [rcx]
mov dword [rbp + 0x150], 0xffffffff
lea r9, str.Loaded
lea r8, [0x18025dc84]
lea rdx, [rbp + 0x150]
call qword [rax + 0xb8]
call fcn.18014fb70
mov rcx, rsi
call fcn.1801d1d28
mov qword [rbp + 0x150], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1800c16c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1800b73b6
cmp dword [rbp - 0x78], 0
je 0x1800b73ad
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800b73ad
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x1800b7304
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x180250ef4]
lea rdx, str.CONIN_
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18024872c]
lea rdx, str.CONOUT_
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18024872c]
lea rdx, str.CONOUT_
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rdx, str.Console_initialized._You_can_now_type_commands.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800bbdf0
lea rdx, [0x1800bbfd0]
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]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x1800b7327
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x18028c720]
add rax, 0x13880
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
jmp 0x1800b7028
lea rdx, str.Failed_to_allocate_console.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1800bbdf0
lea rdx, [0x1800bbfd0]
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]
mov rcx, rsi
call fcn.1801d1d28
mov qword [rbp + 0x150], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1800c16e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1800b739d
cmp dword [rbp - 0x68], 0
je 0x1800b7394
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800b7394
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
cmp dword [rbp - 0x78], eax
je 0x1800b73c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x68], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x78], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret