Function at 0x140002580
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x140002580
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rcx, qword [rsp + 0xa8]
call fcn.140001686
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000260b
lea rdx, str.Failed_to_allocate_memory_for_DLL_path
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001122
mov qword [rsp + 0x58], rax
lea rdx, [0x140001064]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140D.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]
nop
mov rcx, qword [rsp + 0xa8]
call fcn.1400011cc
nop
jmp 0x14000277c
mov rcx, qword [rsp + 0xa8]
call fcn.140001686
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400010f0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002697
lea rdx, str.Failed_to_write_DLL_path_into_memory
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001122
mov qword [rsp + 0x70], rax
lea rdx, [0x140001064]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140D.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]
nop
mov rcx, qword [rsp + 0xa8]
call fcn.1400011cc
nop
jmp 0x14000277c
lea rcx, [0x14001bb68]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000273d
lea rdx, str.Failed_to_create_remote_thread
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001122
mov qword [rsp + 0x78], rax
lea rdx, [0x140001064]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140D.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]
nop
mov rcx, qword [rsp + 0xa8]
call fcn.1400011cc
nop
jmp 0x14000277c
lea rdx, str.Created_remote_thread_for_loading_DLL
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001122
mov qword [rsp + 0x80], rax
lea rdx, [0x140001064]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140D.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]
nop
mov rcx, qword [rsp + 0xa8]
call fcn.1400011cc
nop
add rsp, 0x90
pop rdi
ret