Function at 0x140002ed4
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, dword [rsp + 0x98]
lea edi, [rcx - 0x34c]
mov r15d, dword [rsp + 0xa0]
mov esi, edx
xor ecx, 0x4b4
mov dword [rsp + 0x98], edi
xor esi, 0x288
add r15d, 0xfffffcd6
lea r13d, [rax + 0x166]
lea r14d, [rax - 0x1e6]
lea eax, [r8 - 0x188]
mov dword [rsp + 0xa0], eax
lea eax, [r13 - 0x16f]
cmp esi, eax
jl 0x1400032ab
mov eax, r14d
xor eax, 0x697
cmp esi, eax
je 0x1400030e6
mov rbx, qword [rsp + 0x90]
mov eax, dword [0x1400d70e8]
sub eax, dword [rbx + 0x110]
add eax, 0x20f51e
add dword [rbx + 0x120], eax
mov eax, dword [rbx + 0x178]
mov rcx, qword [section..data]
cmp dword [rbx + 0x4c], eax
jae 0x140002f9e
mov eax, dword [rbx + 0xb4]
xor eax, dword [rbx + 0x20]
add dword [rcx + 0x140], eax
jmp 0x140002faf
mov eax, dword [rbx + 0xa4]
sub eax, 0x85ccf
xor dword [rcx + 0x120], eax
mov rax, qword [section..data]
cmp dword [rax + 0x110], 0x133be
jb 0x140002fd3
add dword [rbx + 0xd8], 0xfffa1d80
mov rax, qword [section..data]
xor dword [rax + 0x120], 0x49550
mov rax, qword [section..data]
mov edx, dword [0x1400d7144]
cmp edx, dword [rax + 0x80]
ja 0x140002ffe
xor edx, 0x1894
sub dword [rbx + 0x120], edx
xor r15d, 0x6cf
lea eax, [rdi + 0x2c1]
mov ecx, r15d
mov dword [rsp + 0x20], eax
lea r9d, [r13 - 0x1f9]
mov rdx, rbx
lea r8d, [r14 + 0xc0]
call section..text
mov ecx, dword [rbx + 0x178]
mov esi, eax
mov dword [rbx + 0x11c], ecx
mov edx, dword [0x1400d7060]
jmp 0x1400030a2
mov eax, dword [rbx + 0x4c]
mov ecx, dword [rbx + 0xc4]
add eax, 0xffea1bf0
add ecx, eax
xor dword [rbx + 0x134], ecx
mov eax, dword [rbx + 0x20]
dec eax
add dword [rbx + 8], eax
mov eax, edx
mov ecx, dword [rbx + 0xd0]
imul eax, edx
add dword [rbx + 0x11c], eax
mov eax, dword [0x1400d7144]
add eax, 0xffffffb0
add ecx, eax
xor dword [rbx + 0x100], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
sub ecx, dword [rbx + 0x14c]
mov eax, dword [rbx + 0xc0]
sub ecx, 0x10
imul eax, ecx
inc edx
mov dword [rbx + 0xc0], eax
cmp edx, dword [0x1400d7064]
jbe 0x14000303e
mov rax, qword [section..data]
mov ecx, dword [rax + 0x110]
mov eax, dword [0x1400d712c]
sub ecx, 0x198a44
imul eax, ecx
mov dword [0x1400d712c], eax
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x74], eax
mov rcx, qword [section..data]
mov eax, dword [rbx]
sub dword [rcx + 0x74], eax
jmp 0x1400032ab
mov r12, qword [section..data]
mov rbp, qword [rsp + 0x90]
mov eax, dword [r12 + 0xc8]
imul eax, dword [rbp + 0x12c]
cmp dword [0x1400d70fc], eax
jne 0x1400031e4
mov r11d, dword [rbp + 0xc0]
mov r9d, dword [rbp + 0x34]
add r11d, ecx
imul edi, dword [0x1400d70e8], 0x25ba
and r9d, ecx
mov ecx, dword [r12 + 0x28]
mov edx, dword [rbp + 0x178]
and ecx, 0x26c0
mov ebx, dword [0x1400d70c0]
mov r8d, dword [0x1400d7150]
or ebx, esi
mov r12d, dword [rsp + 0xa0]
or ebx, 0x23ff
xor r8d, dword [rsp + 0x98]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], r11d
imul r10d, r14d, 0x26c2
imul edx, r13d
imul ecx, r12d
mov dword [rsp + 0x28], ebx
xor r10d, 0x241d
add edx, 0x2537
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edx, dword [rbp + 0x124]
mov eax, esi
imul edx, dword [rbp + 0xc4]
and eax, 0x247a
mov r8d, dword [rbp + 0xd4]
sub eax, 0x2537
mov ecx, dword [0x1400d7128]
xor r8d, 0x26c0
movsxd r9, eax
sub r8d, esi
mov eax, r14d
and rcx, rax
sub edx, 0x274b
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov edi, dword [rsp + 0x98]
jmp 0x1400031ec
mov r12d, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, dword [rbp + 0xa4]
mov rdx, rbp
mov rax, qword [section..data]
imul r9d, dword [rbp + 0x24]
imul edi, r14d
imul r14d, r13d
mov ecx, dword [rax + 0xcc]
or ecx, r15d
xor r9d, 0x249d
mov dword [rsp + 0x20], edi
mov r8d, r14d
call fcn.140012414
mov r10, qword [section..data]
mov r11d, 0x23ff
mov ecx, dword [rbp + 0x100]
mov esi, eax
mov r8d, dword [rbp + 0x70]
or r8d, dword [rbp + 0x80]
mov r9d, dword [r10 + 0x30]
mov edx, dword [r10 + 0xd8]
and r9d, r11d
mov eax, dword [r10 + 0xc0]
sub r9d, ecx
imul r8d, ecx
xor rdx, rax
mov ecx, dword [r10 + 0xa8]
sub ecx, r12d
sub ecx, r11d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov ecx, dword [rbp + 0xac]
mov eax, r13d
or rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rbp + 0xbc]
mov ecx, dword [rbp + 0x128]
xor ecx, dword [rbp + 0x80]
imul eax, ecx
mov dword [rbp + 0xbc], eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
lea eax, [rsi - 0x2ae]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret