Function at 0x180002860
Capabilities:
Create pipe
Create process on windows
Get common file path
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x10]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800028a0
movsd xmm0, qword [0x18001f750]
lea r8, [rsp + 0x60]
movzx eax, byte [0x18001f758]
lea rdx, [rsp + 0x58]
movsd qword [rcx], xmm0
xor esi, esi
mov byte [rcx + 8], al
xor r9d, r9d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x60], 0x18
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x180002b18
lea r8, [0x18001f810]
lea rdx, str._c_wmic_process_where__name_s__get_ExecutablePath
lea rcx, [rbp + 0x120]
call fcn.180001010
xor eax, eax
mov dword [rbp - 0x70], 0x68
xorps xmm0, xmm0
mov dword [rbp - 0x1c], eax
mov rax, qword [rsp + 0x58]
lea rdx, [rbp + 0x120]
mov qword [rbp - 0x18], rax
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x10], rax
xor r9d, r9d
movups xmmword [rbp - 0x3c], xmm0
xor r8d, r8d
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x2c], xmm0
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x34], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1800029b4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180002b18
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x740], rbx
mov qword [rsp + 0x748], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
lea r9, [rbp]
mov r8d, 0x3ff
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180002ad8
nop dword [rax + rax]
mov eax, dword [rbp]
test eax, eax
je 0x180002ad8
cmp rax, 0x400
jae 0x180002b38
lea rdx, str..exe
mov byte [rbp + rax + 0x220], sil
lea rcx, [rbp + 0x220]
call fcn.180004110
test rax, rax
je 0x180002aaf
lea rdi, [rbp + 0x220]
mov rax, 0xffffffffffffffff
lea rcx, [rbp + 0x220]
nop dword [rax]
cmp byte [rcx + rax + 1], sil
lea rax, [rax + 1]
jne 0x180002a50
lea rbx, [rbp + rax + 0x21f]
movzx eax, byte [rbp + 0x220]
test al, al
je 0x180002a87
nop
movzx ecx, al
call fcn.180006b60
test eax, eax
je 0x180002a87
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180002a70
cmp rbx, rdi
jbe 0x180002aa7
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.180006b60
test eax, eax
je 0x180002aa7
mov byte [rbx], sil
dec rbx
cmp rbx, rdi
ja 0x180002a90
mov rdx, rdi
call fcn.1800025d0
mov rcx, qword [rsp + 0x50]
lea r9, [rbp]
mov r8d, 0x3ff
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180002a00
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x740]
mov rdi, qword [rsp + 0x748]
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.180003340
mov rsi, qword [rsp + 0x750]
add rsp, 0x730
pop rbp
ret
call fcn.180003468
int3