Function at 0x180012fd4
Capabilities:
Spoof parent pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xc0
mov edi, dword [rbp + 0x7f]
xor esi, esi
mov r15, r9
mov rbx, r8
mov r12d, edx
mov r13, rcx
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x61], rsi
test edi, edi
jne 0x18001302c
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x6f]
mov dword [rsp + 0x20], eax
call fcn.180011768
jmp 0x18001326b
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp - 0x61], rax
test rax, rax
jne 0x18001305f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, edi
mov ecx, 0x22
mov r8d, eax
call fcn.18000d514
jmp 0x180013269
xor r8d, r8d
lea r9, [rbp - 0x59]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x59]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x18001325d
xor r8d, r8d
lea r9, [rbp - 0x59]
mov rcx, rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x18001325d
mov qword [rsp + 0x30], rsi
lea r9, [rbp - 0x61]
xor edx, edx
mov r8d, 0x20000
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x18001325d
lea rsi, [rbx + 0x58]
mov rdi, qword [rsi]
test rdi, rdi
je 0x180013162
cmp qword [rbx + 0x60], 0
je 0x18001312f
cmp rdi, qword [rbx + 0x60]
jne 0x18001312f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbp - 0x61]
mov r9, rsi
mov rcx, rax
mov eax, 1
mov rdx, rdi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rax, qword [rsi]
mov qword [rbx + 0x60], rax
jmp 0x18001319a
test rdi, rdi
je 0x180013162
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbp - 0x61]
mov r9, rsi
mov rcx, rax
mov eax, 1
mov rdx, rdi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rsi, qword [rbx + 0x60]
test rsi, rsi
je 0x18001319a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbp - 0x61]
lea r9, [rbx + 0x60]
mov rcx, rax
mov eax, 1
mov rdx, rsi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rax, qword [rbx]
mov ecx, dword [rbp + 0x6f]
lea r8, [rbp - 0x51]
mov qword [rbp - 0x51], rax
mov rax, qword [rbx + 8]
bts ecx, 0x13
mov qword [rbp - 0x49], rax
mov rax, qword [rbx + 0x10]
mov r9, r15
mov qword [rbp - 0x41], rax
mov rax, qword [rbx + 0x18]
mov edx, r12d
mov qword [rbp - 0x39], rax
mov rax, qword [rbx + 0x20]
mov dword [rbp - 0x51], WSAStartup
mov qword [rbp - 0x31], rax
mov rax, qword [rbx + 0x28]
mov qword [rbp + 0x17], r14
mov qword [rbp - 0x29], rax
mov rax, qword [rbx + 0x30]
mov qword [rbp - 0x21], rax
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x19], rax
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x11], rax
mov rax, qword [rbx + 0x48]
mov qword [rbp - 9], rax
mov rax, qword [rbx + 0x50]
mov qword [rbp - 1], rax
mov rax, qword [rbx + 0x58]
mov qword [rbp + 7], rax
mov rax, qword [rbx + 0x60]
mov qword [rbp + 0xf], rax
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.180011768
mov rcx, qword [rbp - 0x61]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
jmp 0x18001326b
mov edx, edi
mov ecx, 0x1b
call fcn.18000d508
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret