Function at 0x140009870
Capabilities:
Create process on windows
Create process suspended
Resume thread
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x208]
sub rsp, 0x308
mov rax, qword [0x1400440c0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12, r8
mov r15, rdx
mov r8d, ecx
mov esi, ecx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140009906
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_open_process_with_PID:
mov ebx, eax
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
mov edx, esi
call fcn.140006830
mov rcx, rax
lea rdx, str._Error:
call fcn.1400080f0
mov rcx, rax
mov edx, ebx
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
xor eax, eax
jmp 0x140009cae
mov rcx, rdi
mov qword [rsp + 0x300], r14
call fcn.140009650
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
mov r14, rax
call fcn.14002feb0
mov r9d, 0x104
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x140009999
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_get_module_file_name_for_process_with_PID:
mov ebx, eax
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
mov edx, esi
call fcn.140006830
mov rcx, rax
lea rdx, str._Error:
call fcn.1400080f0
mov rcx, rax
mov edx, ebx
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140009ca6
lea rdx, str.New_process_appeared__PID:
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
mov edx, esi
call fcn.140006830
mov rcx, rax
lea rdx, str.__Command_Line:
call fcn.1400080f0
mov rcx, rax
mov rdx, r14
call fcn.1400080f0
mov rcx, rax
lea rdx, str._Application:
call fcn.1400080f0
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400080f0
mov rcx, rax
call fcn.1400083b0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140009a48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_terminate_process_with_PID:
mov ebx, eax
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
mov edx, esi
call fcn.140006830
mov rcx, rax
lea rdx, str._Error:
call fcn.1400080f0
mov rcx, rax
mov edx, ebx
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
lea rdx, str.Terminated_process_with_PID:
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
mov edx, esi
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, r14
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140009b3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_create_process_for:
mov ebx, eax
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400080f0
mov rcx, rax
lea rdx, str._Error:
call fcn.1400080f0
mov rcx, rax
mov edx, ebx
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
xor eax, eax
jmp 0x140009ca6
lea rdx, str.Created_suspended_process_for:
lea rcx, [0x140045830]
call fcn.1400080f0
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400080f0
mov rcx, rax
lea rdx, str._PID:
call fcn.1400080f0
mov edx, dword [rsp + 0x60]
mov rcx, rax
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140009bfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_open_newly_created_process_with_PID:
mov ebx, eax
lea rcx, [0x140045830]
call fcn.1400080f0
mov edx, dword [rsp + 0x60]
mov rcx, rax
call fcn.140006830
mov rcx, rax
lea rdx, str._Error:
call fcn.1400080f0
mov rcx, rax
mov edx, ebx
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140009ca6
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, r12
mov rdx, r15
mov r9, rax
mov rcx, rbx
call fcn.1400026f0
lea rdx, str.Payload_injected_into_process_with_PID:
lea rcx, [0x140045830]
call fcn.1400080f0
mov edx, dword [rsp + 0x60]
mov rcx, rax
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rdx, str.Resumed_thread_of_process_with_PID:
lea rcx, [0x140045830]
call fcn.1400080f0
mov edx, dword [rsp + 0x60]
mov rcx, rax
call fcn.140006830
mov rcx, rax
call fcn.1400083b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x60]
mov r14, qword [rsp + 0x300]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14000ee30
add rsp, 0x308
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret