Function at 0x180002c24
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov eax, dword [rsp + 0xd8]
lea ebp, [rcx - 0x492]
mov r9d, dword [rsp + 0x100]
mov r11d, r8d
mov r10d, dword [rsp + 0xe8]
mov r13, rdx
lea edi, [rax - 0x10]
lea r8d, [r9 - 0x3afd]
mov dword [rsp + 0xd8], edi
lea r15d, [rax + 0x180]
mov dword [rsp + 0x100], r8d
mov eax, dword [rsp + 0x108]
lea esi, [r9 - 0x4b]
lea edx, [r10 - 0x3ad]
mov dword [rsp + 0x108], ebp
lea r14d, [r10 - 0x475]
lea ebx, [r11 + 0x24b]
lea r9d, [rax + 0x190]
lea r12d, [rax - 0x58]
mov dword [rsp + 0xe8], r9d
lea eax, [r15 + 0x259]
cmp r8d, eax
jg 0x180002f5e
mov eax, dword [r13 + 0x198]
lea r10d, [r9 - 0x180]
mov edx, dword [rsp + 0x100]
lea r9d, [r8 + 0x3b4c]
sub r15d, 0x1e8
lea ebx, [r14 + 0x1d]
mov dword [rsp + 0xb0], r15d
add esi, 0xab
lea ecx, [rax + rax*2]
add r12d, 0x4cd
add ecx, ecx
add edx, 0x3b5d
mov dword [r13 + 0x198], ecx
imul rax, qword [r13 + 0x30], 0x3a95
mov ecx, dword [rsp + 0xe8]
mov qword [r13 + 0x10], rax
add ecx, 0x91
mov eax, dword [r13 + 0x198]
sub eax, dword [r13 + 8]
mov dword [r13 + 0x178], eax
lea eax, [r11 + 0x1fc]
mov dword [rsp + 0x78], eax
lea r11d, [rdi + 0x475]
mov eax, dword [rsp + 0xb0]
lea edi, [rbp + 0x4c6]
mov dword [rsp + 0x70], r10d
lea ebp, [r14 + 0x58]
mov dword [rsp + 0x68], r11d
lea r14d, [r15 + 0x279]
mov dword [rsp + 0x60], ebx
lea r15d, [r8 + 0x3f59]
mov r8d, dword [rsp + 0x108]
mov dword [rsp + 0x58], edi
add r8d, 0xda
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r12d
call fcn.18001bd74
mov dword [r13 + 0x118], 0x613716af
lea rcx, [0x18001f9ce]
mov rax, qword [r13 + 0x1c0]
xor qword [rax + 0x110], rcx
mov rax, qword [r13 + 0x30]
mov ecx, dword [rax + 0x1b8]
lea rax, [0x180020060]
sub ecx, 0x3c6d
mov qword [r13 + 0x180], rax
mov dword [r13 + 0x17c], ecx
mov rax, qword [r13 + 0x30]
mov ecx, dword [rax + 0x1b8]
sub ecx, 0x3c7d
movsxd r8, ecx
cmp r8, 0x4f2
jge 0x180002f30
shl r8, 2
mov rax, qword [r13 + 0x180]
mov rdx, qword [r13 + 0x1b0]
mov r10d, dword [r8 + rax]
mov rax, qword [r13 + 0x80]
mov rcx, qword [rax + 0xb0]
sub rcx, 0x3a6e
add qword [rdx + 0x168], rcx
mov rax, qword [r13 + 0x100]
sub rax, 0x3f62
mov qword [r13 + 0x18], rax
imul r10d, dword [r13 + 0x118]
mov rax, qword [r13 + 0x80]
mov r9d, dword [r13 + 0x17c]
mov rcx, qword [rax + 0x168]
add rcx, 0x3a44
imul rax, qword [r13 + 0x128], 0x3b73
mov qword [r13 + 0x150], rcx
mov qword [r13 + 0x128], rax
cmp qword [r13 + 0xb0], 0x3a95
jne 0x180002ecb
mov rcx, qword [r13 + 0x38]
mov rax, qword [r13 + 0xd0]
add rcx, 0x3ed6
mov qword [rax + 0xb8], rcx
imul eax, dword [r13 + 0x1b8], 0x587f1958
mov edx, r10d
add r9d, eax
mov rax, qword [r13 + 0x1c0]
mov ecx, r9d
shr edx, cl
add qword [rax + 0x100], 0xffffffffffffc481
mov rax, qword [r13 + 0x1b0]
mov cl, byte [rax + 0xd8]
mov rax, qword [r13 + 0x48]
xor cl, 0xb2
and dl, cl
movsxd rcx, dword [r13 + 0x160]
mov byte [rcx + rax], dl
inc dword [r13 + 0x160]
test r9d, r9d
jne 0x180002ea5
add r8, 4
cmp r8, 0x13c8
jl 0x180002e29
mov edi, dword [rsp + 0xd8]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
lea eax, [rdi + 0x250]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea eax, [r14 + rsi]
add eax, ebp
cmp edx, eax
jle 0x180002ff5
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r11, qword [r13 + 0x158]
lea r10d, [r12 + 0x3afd]
mov edx, dword [rsp + 0xe8]
mov r9d, r14d
add r10d, dword [r13 + 0x30]
or r9d, 0x3d0e
sub r9d, dword [r13 + 0x58]
and ebx, r12d
movsxd rax, esi
or edx, ebx
or r11, rax
imul r8d, edi, 0xe77701c
mov qword [rsp + 0x28], r11
imul ecx, r14d, 0x3b5d
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
movsxd rax, dword [rsp + 0x100]
sub rax, qword [r13 + 0x80]
add qword [r13 + 0x90], rax
movsxd rax, edi
or qword [r13 + 0xe8], rax
imul eax, edi, 0x3f0a
movsxd rcx, eax
xor qword [r13], rcx
jmp 0x180002f37
mov eax, edx
or eax, 0x3aed
cmp edx, eax
jge 0x180002f37
sub eax, edx
movsxd rsi, edx
lea ebx, [rax - 1]
shr ebx, 2
inc ebx
movzx ecx, word [r13 + 0x138]
mov rdx, rsi
imul r8, qword [r13 + 0x1e0], 0x3f62
sub rdx, qword [r13]
and cx, r12w
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub rbx, 1
jne 0x180003011
jmp 0x180002f37