Function at 0x401835
Capabilities:
Enumerate threads
Inject apc

Disassembly:
push rbp
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1a0], rcx
mov qword [rbp + 0x1a8], rdx
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
add rax, 1
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rax
mov edx, 0
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp + 0x170], rax
cmp qword [rbp + 0x170], 0
jne 0x4018f2
lea rax, [rbp - 1]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp - 1]
lea rax, [rbp - 0x30]
mov r8, rdx
lea rdx, str.Failed_to_allocate_memory_in_remote_process.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp - 0x30]
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 1]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov eax, 0
jmp 0x401f3b
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
lea rbx, [rax + 1]
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rdx, rax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdx
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
sete al
test al, al
je 0x4019c0
lea rax, [rbp + 0x2f]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0x2f]
mov rax, rbp
mov r8, rdx
lea rdx, str.Failed_to_write_DLL_path_to_remote_process.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
mov rax, rbp
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
mov rax, rbp
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x2f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x170]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov eax, 0
jmp 0x401f3b
lea rcx, str.Kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
lea rdx, str.LoadLibraryA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x160], rax
cmp qword [rbp + 0x160], 0
jne 0x401a7c
lea rax, [rbp + 0x5f]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0x5f]
lea rax, [rbp + 0x30]
mov r8, rdx
lea rdx, str.Failed_to_find_LoadLibraryA_address.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x30]
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x5f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x170]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov eax, 0
jmp 0x401f3b
mov edx, 0
mov ecx, 4
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x158], 0xffffffffffffffff
jne 0x401af9
lea rax, [rbp + 0x8f]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0x8f]
lea rax, [rbp + 0x60]
mov r8, rdx
lea rdx, str.Failed_to_get_thread_snapshot.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x60]
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x8f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov eax, 0
jmp 0x401f3b
mov dword [rbp - 0x50], 0x1c
mov dword [rbp + 0x17c], 0
lea rax, [rbp - 0x50]
mov rcx, qword [rbp + 0x158]
mov rdx, rax
call sym.Thread32First
test eax, eax
setne al
test al, al
je 0x401b6b
mov ebx, dword [rbp - 0x44]
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessId]
call rax
cmp ebx, eax
sete al
test al, al
je 0x401b4d
mov eax, dword [rbp - 0x48]
mov dword [rbp + 0x17c], eax
jmp 0x401b6b
lea rax, [rbp - 0x50]
mov rcx, qword [rbp + 0x158]
mov rdx, rax
call sym.Thread32Next
test eax, eax
setne al
test al, al
je 0x401b6b
jmp 0x401b26
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp dword [rbp + 0x17c], 0
jne 0x401bed
lea rax, [rbp + 0xbf]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0xbf]
lea rax, [rbp + 0x90]
mov r8, rdx
lea rdx, str.Failed_to_find_a_thread_in_the_target_process.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x90]
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x90]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xbf]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov eax, 0
jmp 0x401f3b
mov eax, dword [rbp + 0x17c]
mov r8d, eax
mov edx, 0
mov ecx, 0x10
mov rax, qword [sym.imp.KERNEL32.dll_OpenThread]
call rax
mov qword [rbp + 0x150], rax
cmp qword [rbp + 0x150], 0
jne 0x401c80
lea rax, [rbp + 0xef]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0xef]
lea rax, [rbp + 0xc0]
mov r8, rdx
lea rdx, str.Failed_to_open_target_thread.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0xc0]
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0xc0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xef]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov eax, 0
jmp 0x401f3b
mov rcx, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x160]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
call rax
test eax, eax
sete al
test al, al
je 0x401d50
lea rax, [rbp + 0x11f]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0x11f]
lea rax, [rbp + 0xf0]
mov r8, rdx
lea rdx, str.Failed_to_queue_APC.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0xf0]
mov rcx, rax
call dbg.void log<(ConsoleColor)12>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0xf0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x11f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x170]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov rax, qword [rbp + 0x150]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x401f3b
mov rax, qword [rbp + 0x150]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rax, [rbp + 0x14f]
mov rcx, rax
call fcn.00460410
lea rdx, [rbp + 0x14f]
lea rax, [rbp + 0x120]
mov r8, rdx
lea rdx, str.APC_queued_successfully._DLL_injection_scheduled.
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x120]
mov rcx, rax
call dbg.void log<(ConsoleColor)11>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x120]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x14f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov eax, 1
jmp 0x401f3b
add rsp, 0x208
pop rbx
pop rbp
ret