Function at 0x1400276c8
Capabilities:
Create pipe
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x140079080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov r15, rcx
xor r13d, r13d
lea rcx, [0x1400866d9]
call fcn.1400517a8
movzx esi, r13b
mov edi, r13d
or r14, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], r13
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.140004880
nop
lea rcx, str.___ipc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rcx, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r9, str.___ipc
xor r8d, r8d
mov rdx, qword [rbp - 0x59]
call fcn.140029144
mov rbx, rax
cmp rax, r14
je 0x140027a11
add rbx, 7
lea rcx, str.___proc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rcx, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r9, str.___proc
mov r8, rbx
mov rdx, qword [rbp - 0x59]
call fcn.140029144
mov r12, rax
cmp rax, r14
je 0x140027a11
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rcx, [0x14005d4d8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
lea rdx, [0x14005d4d8]
lea rcx, [rbp - 0x49]
call fcn.140004880
nop
mov r9, r12
sub r9, rbx
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400299dc
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
lea rcx, [rbp - 0x49]
call fcn.140003c40
nop
lea rcx, [rbp - 0x29]
call fcn.140003b90
lea r8, [r12 + 8]
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
or r9, r14
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.1400299dc
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea r12d, [r13 + 1]
test rax, rax
je 0x14002794e
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x7d0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov r9d, r12d
mov edx, 0x40080003
lea r8d, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14002794e
lea rdx, [0x140060508]
lea ecx, [r13 + 0x10]
call fcn.140052110
mov rdi, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x14002794b
mov qword [rax], r15
mov qword [rax + 8], r14
test rax, rax
je 0x14002794e
mov dword [rbp - 0x71], r13d
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x140027500]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15], rax
test rax, rax
je 0x14002794e
or r14, 0xffffffffffffffff
mov rcx, r15
call fcn.14002f9ac
test al, al
cmovne esi, r12d
jmp 0x14002794e
mov rdi, r13
lea rcx, [rbp - 9]
call fcn.140003b90
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14002799b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027996
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051634
movdqa xmm0, xmmword [0x14005d310]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], r13w
test sil, sil
je 0x1400279e1
mov qword [rbp - 0x29], rbx
mov rax, qword [r15]
mov qword [rbp - 0x21], rax
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x1400279de
cmp eax, 1
mov sil, r13b
jne 0x1400279e1
mov sil, r12b
cmp r14, 0xffffffffffffffff
je 0x1400279f0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1400279fe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140027a11
mov edx, 0x10
mov rcx, rdi
call fcn.140051634
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x140027a54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027a4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051634
mov al, sil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140051870
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret