Function at 0x140025180
Capabilities:
Create pipe

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x368], rbx
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + 0x200], rax
movzx r12d, r8b
mov rdi, rdx
mov rsi, rcx
lea rcx, [rbp + 0x160]
call fcn.1400a5418
nop
lea r8, [rbp + 0x160]
lea rdx, str..pipeISEngine_
lea rcx, [rbp + 0x110]
call fcn.14000ccf0
nop
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rcx, qword [rbp + 0x118]
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
lea r9d, [r14 + 1]
xor r8d, r8d
lea edx, [r14 + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r15, rax
mov rbx, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x14002527b
lea rax, str.SetupEngine.cpp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x7c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_create_pipe_server_for_elevated_proxy__error__x
lea rcx, [rsp + 0x48]
call fcn.14000b8a0
mov edi, r14d
jmp 0x1400256c2
lea r8, [rbp + 0x160]
lea rdx, str.IS_ProxyWaiter_
lea rcx, [rbp + 0xc0]
call fcn.14000ccf0
nop
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae r9, qword [rbp + 0xc8]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
mov qword [rsp + 0x60], rax
lea r8, [rbp + 0x160]
lea rdx, str._embedded:
lea rcx, [rbp + 0x1b0]
call fcn.14000ccf0
nop
test r12b, r12b
jne 0x1400252fd
mov r8d, 9
lea rdx, str.__IS_temp
lea rcx, [rbp + 0x1b8]
call fcn.14000a020
lea rax, [0x140102478]
mov qword [rbp + 0x70], rax
lea r13, [0x1401025f8]
mov qword [rbp + 0xb0], r13
lea rax, str.runas
lea rdx, str.open
test r12b, r12b
cmovne rdx, rax
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.140003cb0
nop
lea rax, [rbp + 0x20]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea r12, [0x140102478]
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x60], r13
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [0x1400fc414]
lea rcx, [rbp + 0x20]
call fcn.140003cb0
nop
mov qword [rbp - 0x30], r12
mov qword [rbp + 0x10], r13
xor r8d, r8d
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x30]
call fcn.140006eb0
nop
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x40], r13
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140006eb0
nop
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x800400
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 8
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400a6110
test eax, eax
je 0x14002542f
lea r8, [rdi + 8]
cmp qword [r8 + 0x18], 8
jb 0x1400253fe
mov r8, qword [r8]
lea rax, str.SetupEngine.cpp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x7d8
mov r9d, dword [0x14017a640]
lea rdx, str.Failed_to_launch_proxy_process__s__error__x
lea rcx, [rsp + 0x48]
call fcn.14000b8a0
jmp 0x14002567b
mov edx, dword [rsi + 0x7b0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140025514
cmp byte [0x140173b48], 0
jne 0x14002545c
cmp byte [0x14017bbb1], 0
je 0x14002567b
lea rdi, [0x140102478]
mov qword [rbp + 0x20], rdi
lea rsi, [0x1401025f8]
mov qword [rbp + 0x60], rsi
xor r9d, r9d
lea rdx, str.SetupEngine.cpp
lea rcx, [rbp + 0x20]
call fcn.140006ab0
nop
mov qword [rbp - 0x30], rdi
mov qword [rbp + 0x10], rsi
xor r9d, r9d
lea rdx, str.Timed_out_waiting_for_proxy_to_respond
lea rcx, [rbp - 0x30]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x1400254cb
cmp byte [0x14017bbb1], 0
jne 0x1400254bd
call fcn.140099320
test al, al
je 0x1400254c4
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x1400254fc
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov r8d, 0x7e5
call fcn.140099810
nop
lea rcx, [rbp - 0x30]
call fcn.140004280
nop
lea rcx, [rbp + 0x20]
call fcn.140004280
jmp 0x14002567b
mov rcx, qword [0x14017a650]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x58], rbx
lea ecx, [rbx + 0x51]
call fcn.1400b3630
mov qword [rsp + 0x48], rax
mov r8, qword [0x14017a648]
mov rdx, r15
mov rcx, rax
call fcn.1400876e0
mov rdi, rax
test rax, rax
jne 0x140025627
cmp byte [0x140173b48], al
jne 0x140025569
cmp byte [0x14017bbb1], al
je 0x14002561c
lea rdi, [0x140102478]
mov qword [rbp - 0x30], rdi
lea rsi, [0x1401025f8]
mov qword [rbp + 0x10], rsi
xor r9d, r9d
lea rdx, str.SetupEngine.cpp
lea rcx, [rbp - 0x30]
call fcn.140006ab0
nop
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x60], rsi
xor r9d, r9d
lea rdx, str.Failed_to_allocate_proxy_handler
lea rcx, [rbp + 0x20]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x1400255d8
cmp byte [0x14017bbb1], 0
jne 0x1400255ca
call fcn.140099320
test al, al
je 0x1400255d1
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x140025609
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
mov r8d, 0x7f3
call fcn.140099810
nop
lea rcx, [rbp + 0x20]
call fcn.140004280
nop
lea rcx, [rbp - 0x30]
call fcn.140004280
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002567b
mov rcx, rdi
call fcn.140084090
mov r8d, eax
test eax, eax
je 0x140025647
mov dword [rsp + 0x50], 0x7fc
lea rdx, str.Failed_to_connect_verify_proxy__error__x
jmp 0x140025665
mov rcx, rdi
call fcn.140087850
mov r8d, eax
test eax, eax
je 0x14002567d
mov dword [rsp + 0x50], 0x803
lea rdx, str.Failed_to_initialize_proxy_communication__error__x
lea rax, str.SetupEngine.cpp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.14000b8a0
xor edi, edi
lea rcx, [rbp + 0x70]
call fcn.1400048d0
nop
lea rcx, [rbp + 0x1b0]
call fcn.1400048d0
nop
test r14, r14
je 0x1400256b5
cmp qword [sym.imp.KERNEL32.dll_CloseHandle], 0
je 0x1400256b5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], 0
lea rcx, [rbp + 0xc0]
call fcn.1400048d0
nop
cmp rbx, 0xffffffffffffffff
je 0x1400256e4
cmp qword [sym.imp.KERNEL32.dll_CloseHandle], 0
je 0x1400256e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], 0xffffffffffffffff
lea rcx, [rbp + 0x110]
call fcn.1400048d0
nop
lea rcx, [rbp + 0x160]
call fcn.1400048d0
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400b31f0
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret