Function at 0x1800042c0
Capabilities:
Create process on windows
Spoof parent pid
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x18000e080]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov r15, rcx
lea rdx, [rsp + 0x60]
movabs rcx, 0x95c6165dcd51fd9d
movabs rax, 0xe430f324ee0ddbf7
mov qword [rsp + 0x68], rcx
movabs r14, 0xbb915a14d58ea040
mov qword [rbp + 0x130], rax
movabs rcx, 0x71a15462b6593f2
mov qword [rsp + 0x70], rcx
movabs rax, 0x9871cb15e48e0538
mov qword [rsp + 0x60], r14
movabs rcx, 0x36b3b2f7b85640b7
movups xmm1, xmmword [rsp + 0x60]
mov qword [rsp + 0x78], rcx
movabs rsi, 0xbbe65a48d5b4a003
movups xmm2, xmmword [rsp + 0x70]
mov qword [rbp - 0x78], rax
movabs rcx, 0xe46cf316ee3edb9a
mov qword [rbp - 0x80], rcx
movabs r13, 0x95a91639cd3ffdf4
movups xmm3, xmmword [rbp - 0x80]
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x140]
mov qword [rbp + 0x110], rsi
movabs rdi, 0x769151a2b169385
xorps xmm3, xmmword [rbp + 0x130]
movabs rbx, 0x36d6b283b82540ce
mov qword [rbp + 0x118], r13
xor r12d, r12d
movdqa xmm0, xmmword [rbp + 0x110]
xorps xmm0, xmm1
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], rbx
xorps xmm2, xmmword [rbp + 0x120]
movdqa xmmword [rbp - 0x80], xmm3
mov qword [rbp - 0x70], r12
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x70], xmm2
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov qword [rbp + 0x108], rbx
lea rdx, [rbp + 0xf0]
movabs rax, 0xbb905a26d5dda074
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x140]
movabs rax, 0x95cc1617cd4dfd91
mov qword [rbp + 0x118], r13
movdqa xmm0, xmmword [rbp + 0x110]
mov qword [rbp + 0xf8], rax
movabs rax, 0x769151a2b7393fd
movups xmm1, xmmword [rbp + 0xf0]
mov qword [rbp + 0x100], rax
movups xmm2, xmmword [rbp + 0x100]
mov qword [rbp + 0x120], rdi
xorps xmm0, xmm1
mov qword [rbp + 0x128], rbx
xorps xmm2, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x100], xmm2
movdqa xmmword [rbp + 0xf0], xmm0
call qword [sym.imp.KERNEL32.dll_lstrcatW]
movabs rax, 0xbbb55a26d5dda054
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0x110], rax
movabs rax, 0x95f51609cd5efd80
mov qword [rbp + 0x118], rax
movabs rax, 0x708157c2b7393c1
movups xmm1, xmmword [rbp + 0x110]
mov qword [rbp + 0x120], rax
movabs rax, 0x36d6b2f7b84940bb
mov qword [rbp + 0xf8], r13
movdqa xmm0, xmmword [rbp + 0xf0]
mov qword [rbp + 0x128], rax
xorps xmm0, xmm1
movups xmm2, xmmword [rbp + 0x120]
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], rbx
xorps xmm2, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x70], xmm2
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], r13
movdqa xmm0, xmmword [rbp + 0xf0]
lea rdx, [rbp + 0x140]
mov qword [rbp + 0x110], r14
lea rcx, [rbp + 0x140]
mov qword [rbp + 0x128], rbx
movabs rax, 0x95c6165dcd51fd9d
mov qword [rbp + 0x118], rax
xor r8d, r8d
movups xmm1, xmmword [rbp + 0x110]
movabs rax, 0x76915462b6593f2
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x120], rax
lea rax, [rbp - 0x58]
movups xmm2, xmmword [rbp + 0x120]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xorps xmm0, xmm1
lea rax, [rbp + 0x110]
mov qword [rbp + 0x108], rbx
xorps xmm2, xmmword [rbp + 0x100]
mov qword [rsp + 0x20], rax
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm2
call fcn.180003c80
test al, al
jne 0x1800045e6
mov r14d, 0xc0000001
jmp 0x180004b7d
mov rdi, qword [rbp - 0x58]
lea r8, [rbp - 0x70]
mov rcx, rdi
mov qword [rsp + 0x20], r12
mov r9d, 8
mov edx, 0x1e
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov r14d, eax
mov rcx, rdi
test eax, eax
jns 0x18000462b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
jmp 0x180004b77
mov rdx, qword [rbp - 0x70]
call qword [sym.imp.ntdll.dll_NtRemoveProcessDebug]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rcx, 0xbb915a14d58ea040
mov qword [rbp + 0x110], rsi
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x60]
movabs rcx, 0x95c6165dcd51fd9d
mov qword [rbp + 0x118], r13
movdqa xmm0, xmmword [rbp + 0x110]
movabs rax, 0xe430f324ee0ddbf7
mov qword [rsp + 0x68], rcx
movabs rdi, 0x769151a2b169385
movups xmm1, xmmword [rsp + 0x60]
mov qword [rbp + 0x130], rax
movabs rcx, 0x71a15462b6593f2
mov qword [rsp + 0x70], rcx
movabs rax, 0x9871cb15e48e0538
mov qword [rbp - 0x78], rax
movabs rcx, 0x36b3b2f7b85640b7
mov qword [rsp + 0x78], rcx
xorps xmm0, xmm1
movups xmm2, xmmword [rsp + 0x70]
movabs rcx, 0xe46cf316ee3edb9a
mov qword [rbp + 0x138], rax
mov qword [rbp - 0x80], rcx
lea rcx, [rbp + 0x140]
movups xmm3, xmmword [rbp - 0x80]
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], rbx
xorps xmm3, xmmword [rbp + 0x130]
xorps xmm2, xmmword [rbp + 0x120]
movdqa xmmword [rbp - 0x80], xmm3
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x70], xmm2
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movabs rax, 0xbb8d5a3bd5d5a077
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x110], rax
lea rdx, [rsp + 0x60]
movabs rax, 0x9587164bcd58fd99
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x140]
movups xmm1, xmmword [rbp + 0x110]
movabs rax, 0x769157f2b6e93e0
mov qword [rbp + 0xf8], r13
movdqa xmm0, xmmword [rbp + 0xf0]
mov qword [rbp + 0x120], rax
xorps xmm0, xmm1
movups xmm2, xmmword [rbp + 0x120]
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], rbx
xorps xmm2, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x70], xmm2
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov qword [rbp + 0xf0], rsi
mov ecx, 0x18
mov qword [rbp + 0xf8], r13
lea rdi, [rbp - 0x58]
mov qword [rbp + 0x108], rbx
rep stosb byte [rdi], al
lea rdi, [rbp + 0x40]
mov ecx, 0xb0
rep stosb byte [rdi], al
movabs rcx, 0xbbb55a26d5dda054
movabs rax, 0x769151a2b169385
mov qword [rbp + 0x110], rcx
movabs rcx, 0x95f51609cd5efd80
mov qword [rbp + 0x118], rcx
movabs rcx, 0x708157c2b7393c1
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x100], rax
movups xmm1, xmmword [rbp + 0x110]
lea rdx, [rbp + 0x140]
movabs rcx, 0x36d6b2f7b84940bb
movdqa xmm0, xmmword [rbp + 0xf0]
mov r8d, 1
mov qword [rbp + 0x128], rcx
xorps xmm0, xmm1
movups xmm2, xmmword [rbp + 0x120]
mov qword [rbp + 0x128], rbx
lea rcx, [rbp + 0x140]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm2, xmmword [rbp + 0x100]
mov qword [rbp + 0x100], rax
movabs rax, 0xbb915a14d58ea040
mov qword [rbp + 0x110], rax
movabs rax, 0x95c6165dcd51fd9d
mov qword [rbp + 0x118], rax
movabs rax, 0x76915462b6593f2
movups xmm1, xmmword [rbp + 0x110]
mov qword [rbp + 0x120], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm2
movups xmm2, xmmword [rbp + 0x120]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x110]
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], r13
movdqa xmm0, xmmword [rbp + 0xf0]
xorps xmm0, xmm1
mov qword [rbp + 0x108], rbx
xorps xmm2, xmmword [rbp + 0x100]
mov qword [rsp + 0x20], rax
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm2
call fcn.180003c80
test al, al
jne 0x180004942
mov r14d, 0xc0000001
jmp 0x180004b7d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ntdll.dll_DbgUiSetThreadDebugObject]
mov edx, 0xffffffff
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x180004b7d
cmp dword [rbp + 0x40], 3
jne 0x180004972
mov rsi, qword [rbp + 0x58]
test rsi, rsi
jne 0x18000499c
mov edx, dword [rbp + 0x48]
mov r8d, 0x10002
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov edx, 0xffffffff
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
jne 0x180004963
jmp 0x180004b7d
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x30], r12d
mov r8, rdx
mov dword [rsp + 0x28], r12d
lea r9, [rbp - 0x68]
mov qword [rbp - 0x68], r12
mov rcx, rsi
mov dword [rsp + 0x20], 0x1fffff
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
mov r14d, eax
test eax, eax
js 0x180004b3e
mov rax, qword [rbp - 0x68]
lea rdi, [rbp + 0xf0]
mov qword [rbp - 0x40], rax
mov ecx, 0x18
xor eax, eax
mov ebx, 0x30
rep stosb byte [rdi], al
lea rdi, [rbp - 0x30]
mov qword [rbp - 0x60], rbx
mov ecx, 0x70
mov r13d, 5
rep stosb byte [rdi], al
mov dword [rbp - 0x30], 0x70
nop dword [rax]
cmp rbx, 0x400
ja 0x180004b34
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x38], rax
test rax, rax
je 0x180004b20
lea r9, [rbp - 0x60]
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x180004af6
mov rcx, qword [rbp + 0x38]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov r8d, 0x20000
mov qword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x180004af6
lea rax, [rbp + 0xf0]
mov dword [rbp + 0xc], 1
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x30]
mov word [rbp + 0x10], r13w
mov qword [rsp + 0x48], rax
mov r8, r15
mov qword [rsp + 0x40], r12
xor edx, edx
mov qword [rsp + 0x38], r12
xor ecx, ecx
mov dword [rsp + 0x30], 0x80210
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x180004af6
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbp + 0x38]
test rdi, rdi
je 0x180004b0c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rdi, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180004b34
mov rbx, qword [rbp - 0x60]
jmp 0x180004a10
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_DbgUiSetThreadDebugObject]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, rsi
mov qword [rbp - 0x70], r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180004b8c
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, r14d
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.180004be0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret