Function at 0x140103c2c
Capabilities:
Read pipe
Write pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea r15, [rcx + 2]
movabs r12, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [section..rdata]
mov r13, qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rbp, str.__r_
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea r14, [rsp + 0x190]
mov qword [rsp + 0x1a0], r12
movaps xmmword [rsp + 0x190], xmm6
test byte [rbx], 1
mov rcx, r15
je 0x140103cbb
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r13
mov qword [rsp + 0x190], rbp
mov qword [rsp + 0x198], rax
mov byte [rsp + 0x1a0], 0
cmp rax, 0xffffffffffffffff
jne 0x140103d35
call rsi
cmp eax, 0xe7
jne 0x140103e30
test byte [rbx], 1
mov rcx, r15
je 0x140103d19
mov rcx, qword [rbx + 0x10]
mov edx, 0xffffffff
call rdi
test eax, eax
je 0x140103e82
mov rcx, r14
call fcn.1400d7d66
jmp 0x140103c9f
lea rdx, [rsp + 0x4c]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x140103ed4
lea rax, [rsp + 0x48]
mov dword [rax], 0
mov rcx, qword [rsp + 0x198]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xc
mov rdx, qword [rsp + 0x38]
mov r8d, 0x24
mov r9, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x140103f23
mov sil, 1
cmp dword [rsp + 0x48], 0xc
je 0x140103f7b
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140103f79
lea rdx, [0x14019c280]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x8c
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0x60]
lea rdx, str.TransactNamedPipe:_expected
mov r8d, 0x1c
call fcn.14000206f
mov edx, 0xc
mov rcx, rax
call fcn.14000fea6
lea rdx, str.__observed
mov r8d, 0xb
mov rcx, rax
call fcn.14000206f
mov edx, dword [rsp + 0x48]
mov rcx, rax
call fcn.14000fa74
mov rcx, rsi
call fcn.1400525a0
jmp 0x140103f79
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140103f79
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x14019c280]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x6c
mov r9d, 2
call fcn.1400533b0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateFile
mov r8d, 0xa
jmp 0x140103f6c
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140103f79
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x14019c280]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x71
mov r9d, 2
call fcn.1400533b0
lea rcx, [rsp + 0x60]
lea rdx, str.WaitNamedPipe
mov r8d, 0xd
jmp 0x140103f6c
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140103f79
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x14019c280]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x7a
mov r9d, 2
call fcn.1400533b0
lea rcx, [rsp + 0x60]
lea rdx, [0x14019c2e3]
mov r8d, 0x17
jmp 0x140103f6c
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x140103f79
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x14019c280]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x88
mov r9d, 2
call fcn.1400533b0
lea rcx, [rsp + 0x60]
lea rdx, [0x14019c2fb]
mov r8d, 0x11
call fcn.14000206f
mov rcx, rsi
call fcn.1400534a0
xor esi, esi
lea rcx, [rsp + 0x190]
call fcn.1400d7d66
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140143c30
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret