Function at 0x140002d50
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140079080]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14d, r8d
mov r15, rdx
xor r12d, r12d
mov esi, r12d
mov edi, 1
lock xadd dword [0x14007ee88], edi
inc edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov dword [rsp + 0x20], edi
mov r9d, ebx
lea rdx, str.ko._x._x._x
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
lea ecx, [r12 + 0x20]
call fcn.1400515f8
mov rdi, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], 9
mov qword [rbp - 0x78], 0xf
movups xmm0, xmmword [str..pipe_]
movups xmmword [rax], xmm0
movzx eax, word [0x1400606e8]
mov word [rdi + 0x10], ax
mov word [rdi + 0x12], r12w
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140002e21
cmp rbx, 6
ja 0x140002e52
lea rax, [rbx + 9]
mov qword [rbp - 0x80], rax
lea rcx, [rdi + 0x12]
lea r8, [rbx + rbx]
lea rdx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx*2 + 0x12], r12w
jmp 0x140002e6b
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140004a30
mov qword [rsp + 0x40], 0xffffffffffffffff
mov r8d, r14d
xor edx, edx
lea ecx, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002f50
mov dword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x7d0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x80003
mov r9d, 1
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002f3f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140002f47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x140002f47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r12
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r12w
mov dword [rbp + 0x28], 7
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov dword [rbp - 0x28], 4
mov dword [rbp - 0x70], esi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x68], rax
mov r9d, 2
lea r8, [rsp + 0x60]
lea edx, [r9 + 2]
mov rcx, r15
call fcn.1400037c0
mov rdi, rax
lea rcx, [rbp - 0x70]
call fcn.140002560
nop
lea rcx, [rbp - 0x20]
call fcn.140002560
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x1400030da
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x14007ee8c], ecx
jg 0x14000314c
lea rax, [0x140079100]
mov qword [0x14007ee78], rax
mov dword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
nop word [rax + rax]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1400030c3
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x48]
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400030d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400030d0
lea ecx, [rbx + 0x1a]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003050
mov rax, qword [0x14007ee78]
mov qword [rax], rbx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000311e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051634
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140051870
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [0x14007ee8c]
call fcn.1400516e4
cmp dword [0x14007ee8c], 0xffffffff
jne 0x14000302a
mov qword [0x140079100], 0xffffffffffffffff
mov byte [0x140079108], 0
xorps xmm0, xmm0
movdqu xmmword [0x140079110], xmm0
mov qword [0x140079120], r12
lea rcx, [0x1400593f0]
call fcn.140051fd0
lea rcx, [0x14007ee8c]
call fcn.140051678
jmp 0x14000302a