Function at 0x140002e98
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 + 0x188]
mov r15d, dword [rsp + 0xa0]
mov esi, edx
mov edx, 0x25c3
mov dword [rsp + 0x98], edi
xor ecx, edx
xor esi, 0x264a
lea r13d, [rax - 0x16d]
add r15d, 0xffffdab6
lea r14d, [rax - 0x254a]
lea eax, [r8 + 0x1c4]
mov dword [rsp + 0xa0], eax
lea eax, [r13 + 0x2f]
cmp esi, eax
jge 0x140003268
mov eax, r14d
lea r10d, [rdx - 0x79]
xor eax, r10d
cmp esi, eax
jg 0x1400030a6
mov rbx, qword [rsp + 0x90]
mov eax, dword [0x1400d90e8]
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 0x140002f62
mov eax, dword [rbx + 0xb4]
xor eax, dword [rbx + 0x20]
add dword [rcx + 0x140], eax
jmp 0x140002f73
mov eax, dword [rbx + 0xa4]
sub eax, 0x85ccf
xor dword [rcx + 0x120], eax
mov rax, qword [section..data]
cmp dword [rax + 0x110], 0x133be
jb 0x140002f97
add dword [rbx + 0xd8], 0xfffa1d80
mov rax, qword [section..data]
xor dword [rax + 0x120], 0x49550
mov rax, qword [section..data]
mov edx, dword [0x1400d9144]
cmp edx, dword [rax + 0x80]
ja 0x140002fc2
xor edx, 0x1894
sub dword [rbx + 0x120], edx
xor r15d, r10d
lea eax, [rdi - 0x89]
mov ecx, r15d
mov dword [rsp + 0x20], eax
lea r9d, [r13 + 0x9d]
mov rdx, rbx
lea r8d, [r14 + 0x240c]
call section..text
mov ecx, dword [rbx + 0x178]
mov esi, eax
mov dword [rbx + 0x11c], ecx
mov edx, dword [0x1400d9060]
jmp 0x140003062
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 [0x1400d9144]
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 [0x1400d9064]
jbe 0x140002ffe
mov rax, qword [section..data]
mov ecx, dword [rax + 0x110]
mov eax, dword [0x1400d912c]
sub ecx, 0x198a44
imul eax, ecx
mov dword [0x1400d912c], 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 0x140003268
mov r12, qword [section..data]
mov rbp, qword [rsp + 0x90]
mov eax, dword [r12 + 0xc8]
imul eax, dword [rbp + 0x12c]
cmp dword [0x1400d90fc], eax
jne 0x1400031a0
mov ebx, dword [0x1400d90c0]
mov r11d, dword [rbp + 0xc0]
or ebx, esi
mov r9d, dword [rbp + 0x34]
or ebx, edx
mov edx, dword [rbp + 0x178]
add r11d, ecx
imul edi, dword [0x1400d90e8], 0x274b
and r9d, ecx
mov ecx, dword [r12 + 0x28]
mov r8d, dword [0x1400d9150]
and ecx, 0x2537
mov r12d, dword [rsp + 0xa0]
xor r8d, dword [rsp + 0x98]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], r11d
imul r10d, r14d, 0x274b
imul edx, r13d
imul ecx, r12d
mov dword [rsp + 0x28], ebx
xor r10d, 0x249d
add edx, 0x274b
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, 0x26a0
mov r8d, dword [rbp + 0xd4]
sub eax, 0x25ba
mov ecx, dword [0x1400d9128]
xor r8d, 0x2530
movsxd r9, eax
sub r8d, esi
mov eax, r14d
and rcx, rax
sub edx, 0x26c2
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov edi, dword [rsp + 0x98]
jmp 0x1400031a8
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, 0x23dd
mov dword [rsp + 0x20], edi
mov r8d, r14d
call fcn.1400123b8
mov r10, qword [section..data]
mov esi, eax
mov ecx, dword [rbp + 0x100]
mov r8d, dword [rbp + 0x70]
or r8d, dword [rbp + 0x80]
mov r9d, dword [r10 + 0x30]
mov edx, dword [r10 + 0xd8]
and r9d, 0x2537
mov eax, dword [r10 + 0xc0]
sub r9d, ecx
imul r8d, ecx
xor rdx, rax
mov ecx, dword [r10 + 0xa8]
sub ecx, r12d
sub ecx, 0x26a0
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 eax, esi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret