Function at 0x457a10
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov qword [rsp + 0xb8], rcx
mov byte [rsp + 0x47], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x78], ecx
xor ebp, ebp
mov r13d, 8
lea rdi, [rsp + 0x98]
lea rbx, [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0xc8], rax
jmp 0x457a63
mov bpl, 1
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsp + 0x7c], eax
jmp 0x457a77
xchg qword [0x00502178], rax
mov rax, qword [0x00502178]
test rax, rax
jne 0x457a90
call fcn.0047d590
jmp 0x457a70
mov eax, 1
lock xadd qword [0x00502178], rax
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x98], rax
lea rax, [0x004861d0]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xa8], rax
lea rax, [0x00486c00]
mov qword [rsp + 0xb0], rax
lea rax, [0x004cc570]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 2
lea rax, [0x004cc3b0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 2
lea rcx, [rsp + 0xe0]
mov rdx, rbx
call fcn.00482100
test bpl, bpl
je 0x457b4e
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x457b4e
mov rcx, qword [rsp + 0x80]
mov r8d, 1
call fcn.00409ea0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x90]
lea rax, [rcx + r15]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], 0
mov dword [rsp + 0x60], 1
mov byte [rsp + 0x64], 0
mov rcx, rdi
mov rbp, rbx
mov rdx, rbx
call fcn.0045db00
mov r14, qword [rsp + 0x98]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov r9d, 1
mov rcx, r14
mov edx, dword [rsp + 0x78]
mov r12d, r13d
mov r8d, r13d
call sub.KERNEL32.dll_CreateNamedPipeW
cmp rax, 0xffffffffffffffff
jne 0x457ce2
mov rsi, rdi
mov rax, qword [rsp + 0xc8]
lea edi, [rax + 1]
call sub.KERNEL32.dll_GetLastError
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x4c], eax
cmp edi, 9
jg 0x457c7f
mov rbx, rbp
mov r13d, r12d
cmp eax, 5
jne 0x457c40
mov eax, edi
mov qword [rsp + 0xc8], rax
jmp 0x457c4d
test r13d, r13d
je 0x457c7f
xor r13d, r13d
cmp eax, 0x57
jne 0x457c7f
mov rcx, rbx
call fcn.00453b60
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
mov rdi, rsi
je 0x457a60
add rdx, rdx
mov r8d, 2
mov rcx, r14
call fcn.00409ea0
jmp 0x457a60
mov al, byte [rsp + 0x48]
mov rdi, qword [rsp + 0xb8]
mov byte [rdi + 8], al
movzx eax, word [rsp + 0x49]
mov word [rdi + 9], ax
mov al, byte [rsp + 0x4b]
mov byte [rdi + 0xb], al
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0xc], eax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x10], rax
mov qword [rdi], 1
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x457cd3
add rdx, rdx
mov r8d, 2
mov rcx, r14
call fcn.00409ea0
xor esi, esi
mov rbx, qword [rsp + 0xc0]
jmp 0x457d96
mov rsi, rax
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x457d0b
add rdx, rdx
mov r8d, 2
mov rcx, r14
call fcn.00409ea0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x68], 0
mov word [rsp + 0x6c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov al, byte [rsp + 0x47]
mov byte [rsp + 0x69], al
xor al, 1
mov byte [rsp + 0x68], al
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x98]
lea r9, [rsp + 0x48]
mov rbx, qword [rsp + 0xc0]
mov rdx, rbx
mov r8, r15
call fcn.0046ff90
mov rdi, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x98], 1
jne 0x457dc5
mov rcx, qword [rsp + 0xa8]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rcx
mov qword [rdi], 1
mov sil, 1
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x457db1
mov r8d, 1
mov rcx, rbx
call fcn.00409ea0
test sil, sil
je 0x457def
mov rcx, qword [rsp + 0xd0]
call fcn.004a5064
jmp 0x457def
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rax
mov qword [rdi], 0
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x457def
mov r8d, 1
mov rcx, rbx
call fcn.00409ea0
mov rax, rdi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret