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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov r8d, dword [rsp + 0x1e8]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140049f5f
lea rdx, str.Could_not_get_handle_to_process.
lea rcx, [rsp + 0x120]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x120]
call fcn.1400263a8
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x14004a034
lea rdx, str.Could_not_allocate_memory_in_remote_process.
lea rcx, [rsp + 0x138]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x138]
call fcn.1400263a8
mov rcx, qword [rsp + 0x1f0]
call fcn.140002c00
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14004a0cc
lea rdx, str.Could_not_write_to_memory_in_remote_process.
lea rcx, [rsp + 0x150]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x150]
call fcn.1400263a8
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14004a10e
lea rdx, str.Could_not_get_handle_to_Kernel32.
lea rcx, [rsp + 0x168]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x168]
call fcn.1400263a8
lea rdx, str.LoadLibraryW
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14004a15b
lea rdx, str.Could_not_get_pointer_to_LoadLibraryW.
lea rcx, [rsp + 0x180]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x180]
call fcn.1400263a8
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
jne 0x14004a21d
lea rdx, str.Could_not_create_thread_in_remote_process.
lea rcx, [rsp + 0x198]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x198]
call fcn.1400263a8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe0], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x1e0]
call fcn.14004a2d0
test rax, rax
jne 0x14004a295
lea rdx, str.Call_to_LoadLibraryW_in_remote_process_failed.
lea rcx, [rsp + 0x1b0]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x1b0]
call fcn.1400263a8
nop
lea rcx, [rsp + 0x48]
call fcn.140002880
nop
lea rcx, [rsp + 0x90]
call fcn.1400017f0
nop
lea rcx, [rsp + 0x40]
call fcn.140002880
add rsp, 0x1d8
ret