Function at 0x1400017c0
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov rsi, rcx
test edx, edx
je 0x140001996
mov qword [rsp + 0x230], 0xffffffffffffffff
mov qword [rsp + 0x240], 0xffffffffffffffff
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov r8d, edx
xor edx, edx
mov ecx, 0x143a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rcx, qword [rsp + 0x230]
cmp rcx, 0xffffffffffffffff
je 0x14000183c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x230], rbx
test rbx, rbx
je 0x1400019cf
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov r8d, 0x428dd5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140001a1b
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
mov r9d, 0x428dd5
lea r8, [0x140007050]
mov rdx, rdi
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001a5a
lea rax, [rsp + 0x238]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
mov r8d, 0x428dd5
mov rdx, rdi
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140001a99
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov qword [rsp + 0x240], rax
test rax, rax
je 0x140001ad8
cmp byte [rsi], 0
je 0x140001948
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x140001b17
cmp rbx, 0xffffffffffffffff
je 0x140001958
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x230]
cmp rcx, 0xffffffffffffffff
je 0x14000196c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140002570
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rdx, str.Zero_PID_specified
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xeb
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x230]
call fcn.140001230
lea rdx, [0x140004560]
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xb0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x140004578]
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xb4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0xf0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x140004598]
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xbe
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x130]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0x130]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x1400045c0]
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xc1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x170]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0x170]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x1400045e8]
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xc7
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1b0]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0x1b0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x140004610]
lea rcx, [rsp + 0x40]
call fcn.140001bd0
nop
mov r8d, 0xd1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1f0]
call fcn.140001240
lea rdx, [0x140005560]
lea rcx, [rsp + 0x1f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3