Function at 0x180009cd0
Capabilities:
Create pipe
Create thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov byte [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov r8, rcx
mov rcx, qword [rsp + 0x90]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x180009d6e
mov edx, 0x100040
mov rcx, qword [rsp + 0x70]
call fcn.180006c70
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
cdqe
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
cdqe
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r8d, 0x10
lea rdx, [rsp + 0x98]
lea rcx, [0x1800318c4]
call fcn.18000c150
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r8d, 0x10
lea rdx, [rsp + 0x98]
lea rcx, [0x1800318a4]
call fcn.18000c150
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r8d, 0x10
lea rdx, [rsp + 0x98]
lea rcx, [0x1800318ac]
call fcn.18000c150
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [rsp + 0x50]
call fcn.1800117b0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18000a053
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, 0x180
mov rcx, qword [rsp + 0x60]
call fcn.180011aa0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18000a03c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x18000a030
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18000a023
mov byte [rsp + 0x40], 1
mov r8d, 0x180
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.180024170
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
call fcn.180011fa0
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov rcx, qword [rsp + 0x48]
add rcx, 0x10
xor r9d, r9d
lea r8, [rsp + 0xa8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x120]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x128]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov rdx, qword [rsp + 0x110]
mov rcx, rax
call fcn.180024330
mov edx, 0x180
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x48]
mov ecx, 0x180
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
lea r8, [0x18000a210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x38], rax
mov edx, 7
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x144], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x18000a02e
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000a03c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, byte [rsp + 0x40]
add rsp, 0xf8
pop rdi
pop rsi
ret