Function at 0x180057ed0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
movaps xmmword [rsp + 0x230], xmm6
movups xmm6, xmmword [rcx]
movups xmmword [rsp + 0x60], xmm6
xor edx, edx
call fcn.18008a564
mov r8d, 0x104
lea rsi, [0x18011c000]
mov rdx, rsi
movq rcx, xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
test eax, eax
jne 0x180057f9b
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
xor r8d, r8d
lea rdx, [0x1800fdbe0]
lea rcx, [rsp + 0x40]
call fcn.18002b6f0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180057f88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057f83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586df
call fcn.18008a564
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov qword [rbp - 0x50], rsi
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x180057fb0
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x20], xmm0
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.18002b6f0
nop
cmp byte [rsp + 0x68], 0
je 0x1800581ee
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x180058000
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002b6f0
nop
lea rcx, [rsp + 0x40]
call fcn.180036f90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18005807e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058079
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586cd
call fcn.18008a564
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x180058081
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002b6f0
nop
lea rcx, [rsp + 0x40]
call fcn.180033280
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800580ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800580fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586d3
call fcn.18008a564
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180058110
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002b6f0
nop
lea rcx, [rsp + 0x40]
call fcn.18003bd10
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180058191
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005818b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586d9
call fcn.18008a564
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1800581d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800581cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586df
call fcn.18008a564
xor eax, eax
mov rbx, qword [rsp + 0x270]
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
mov qword [rbp - 0x70], rdi
test eax, eax
jne 0x180058221
mov r10, rdi
mov r11d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], r11
mov qword [rbp - 0x60], rdi
jmp 0x180058258
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
lea rax, [rbp + 0xb4]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180058234
mov r8, rbx
lea rdx, [rbp + 0xb4]
lea rcx, [rbp - 0x70]
call fcn.18000c9d0
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.18005a530
mov ebx, eax
cmp r11, 0x10
jb 0x18005829a
lea rdx, [r11 + 1]
mov rax, r10
cmp rdx, 0x1000
jb 0x180058292
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586e5
mov rcx, r10
call fcn.18008a564
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov edx, ebx
lea rcx, [rbp]
call fcn.1800331c0
mov rbx, rax
mov dword [rsp + 0x60], 0xe070e0e
mov dword [rsp + 0x64], 0x5ca750a7
mov byte [rsp + 0x68], reloc.WS2_32.dll_ntohl
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
xor r8d, r8d
lea edx, [r8 + 9]
lea rcx, [rsp + 0x70]
call fcn.18000e960
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov byte [rbp + 0x160], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x160]
lea rsi, [0x1800fcbc0]
movzx eax, byte [rax + rsi]
mov byte [rdx + 8], al
mov byte [rbp + 0x160], 0x5c
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 7], al
mov byte [rbp + 0x160], 0xa7
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 6], al
mov byte [rbp + 0x160], 0x50
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 5], al
mov byte [rbp + 0x160], 0xa7
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 4], al
mov byte [rbp + 0x160], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 3], al
mov byte [rbp + 0x160], 7
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 2], al
mov byte [rbp + 0x160], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 1], al
mov byte [rbp + 0x160], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx], al
mov r9, rbx
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.1800427e0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180058415
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058410
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586eb
call fcn.18008a564
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x180058440
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.18000cb90
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov ebx, edi
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov edx, 1
mov r9d, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp rax, 0xffffffffffffffff
jne 0x18005851b
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
xor r8d, r8d
lea rdx, [0x1800fdbe0]
lea rcx, [rbp - 0x20]
call fcn.18002b6f0
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1800584f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800584eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800586ad
call fcn.18008a564
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jge 0x1800586b3
jmp 0x180058452
lea rcx, [rbp - 0x50]
call fcn.180027e10
mov dword [rbp + 0x168], 0xa7070b2c
mov word [rbp + 0x16c], 0xf9ad
mov qword [rsp + 0x40], rdi
movdqa xmm0, xmmword [0x180102460]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
xor r8d, r8d
lea edx, [r8 + 6]
lea rcx, [rsp + 0x40]
call fcn.18000e960
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov byte [rbp + 0x160], 0xf9
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 5], al
mov byte [rbp + 0x160], 0xad
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 4], al
mov byte [rbp + 0x160], 0xa7
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 3], al
mov byte [rbp + 0x160], 7
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 2], al
mov byte [rbp + 0x160], inet_ntoa
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx + 1], al
mov byte [rbp + 0x160], 0x2c
movzx eax, byte [rbp + 0x160]
movzx eax, byte [rax + rsi]
mov byte [rdx], al
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.18002bb40
nop
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x40]
call fcn.18002e3e0
nop
lea r8, [rbp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.18002e4a0
nop
lea rcx, [rbp + 0x90]
call fcn.1800287c0
nop
lea rcx, [rbp + 0x30]
call fcn.1800287c0
nop
lea rcx, [rsp + 0x40]
call fcn.18000c740
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x70]
call fcn.1800292a0
test al, al
je 0x18005865e
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x70]
call fcn.1800292f0
lea rcx, [rbp + 0x70]
call fcn.1800287c0
lea r8, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.180058900
nop
mov rcx, rax
call fcn.180028120
nop
lea rcx, [rbp + 0x20]
call fcn.180028100
lea rcx, [0x180118fd0]
call fcn.180059900
call fcn.18002d5e0
call fcn.18003a060
nop dword [rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800586a0
call fcn.180090f98
int3
lea rcx, [rbp + 0x30]
call fcn.180033240
lea rcx, [rbp + 0x30]
call fcn.1800287c0
xor ecx, ecx
call fcn.180094ca8
nop
call fcn.180090f98
int3
call fcn.180090f98
int3
call fcn.180090f98
nop
call fcn.180090f98
nop
call fcn.180090f98
nop
call fcn.180090f98
int3