Function at 0x1400118b6
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x14001ab50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rcx, [0x14003c100]
call fcn.140011b2c
nop
mov dword [rbp + 4], 0
mov r8d, dword [rbp + 0x160]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001abd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x134], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x134]
mov r8d, ecx
lea rdx, str.Failed_to_open_target_process:__d_n
mov rcx, rax
call fcn.140011a19
nop
xor eax, eax
jmp 0x14001adee
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001ac4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x134], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x134]
mov r8d, ecx
lea rdx, str.Failed_to_allocate_memory_in_target_process:__d_n
mov rcx, rax
call fcn.140011a19
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14001adee
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14001ace3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x134], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x134]
mov r8d, ecx
lea rdx, str.Failed_to_write_memory_in_target_process:__d_n
mov rcx, rax
call fcn.140011a19
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14001adee
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.DLL_path_written_successfully_to_target_process_memory._n
mov rcx, rax
call fcn.140011a19
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001ad90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x134], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x134]
mov r8d, ecx
lea rdx, str.Failed_to_create_remote_thread_in_target_process:__d_n
mov rcx, rax
call fcn.140011a19
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14001adee
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Remote_thread_created_successfully._n
mov rcx, rax
call fcn.140011a19
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret