Function at 0x140048060
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140129cc0]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x50], r14b
mov dword [rbp - 0x30], 0x18
mov qword [rbp - 0x28], r14
mov dword [rbp - 0x20], 1
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400481be
lea rdx, str.Failed_to_create_pipe.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140078770
lea rdx, [0x140078940]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov ecx, 0x20
call fcn.1400f83b8
mov rdx, rax
mov qword [rdi], rax
mov qword [rdi + 0x10], 0x1f
mov qword [rdi + 0x18], 0x1f
movups xmm0, xmmword [str.Unable_to_retrieve_MAC_address.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140126cd0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140126cd8]
mov dword [rax + 0x18], ecx
movzx eax, word [0x140126cdc]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x140126cde]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004819e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048af6
call fcn.1400f870c
mov rax, rdi
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
mov dword [rbp - 0x10], 0x68
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
psrldq xmm1, 0xc
movd eax, xmm1
or eax, 0x101
mov dword [rbp + 0x2c], eax
mov word [rbp + 0x30], r14w
lea rdx, [rbp + 0xe0]
lea rcx, str.FXOHHTXRS_l_a__33__e___q
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0xa0]
movups xmmword [rdx + 0x20], xmm1
movzx eax, word [rcx + 0xb0]
mov word [rdx + 0x30], ax
movzx eax, byte [rcx + 0xb2]
mov byte [rdx + 0x32], al
mov r8d, r14d
cmp dword [0x1401400a0], 2
jl 0x1400483f5
movdqa xmm4, xmmword [0x140129d30]
movdqa xmm3, xmmword [0x14012a2c0]
movdqa xmm5, xmmword [str.8888]
movdqa xmm0, xmmword [0x140129e40]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp + 0xe4]
movdqa xmm6, xmmword [0x140129db0]
mov edx, dword [rbp - 0x50]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0xb0
jl 0x140048300
cmp r8d, 0xb3
jge 0x140048446
movsxd rax, r8d
lea r9, [rbp + 0xe0]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xb3
jl 0x140048410
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140048464
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x70]
call fcn.14003af50
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400485c6
lea rdx, str.Failed_to_create_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140078770
lea rdx, [0x140078940]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov ecx, 0x20
call fcn.1400f83b8
mov rdx, rax
mov qword [rdi], rax
mov qword [rdi + 0x10], 0x1f
mov qword [rdi + 0x18], 0x1f
movups xmm0, xmmword [str.Unable_to_retrieve_MAC_address.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140126cd0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140126cd8]
mov dword [rax + 0x18], ecx
movzx eax, word [0x140126cdc]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x140126cde]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400485af
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400485aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048a98
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129cc0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
jmp 0x140048161
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x4000
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open_osfhandle]
mov ecx, eax
lea rdx, [0x14012688c]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
mov r8, rax
mov edx, 0x80
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140048670
nop dword [rax + rax]
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140048620
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140077990
mov edx, 0x4000
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open_osfhandle]
mov ecx, eax
lea rdx, [0x14012688c]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
mov r8, rax
mov edx, 0x80
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140048610
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsi, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
cmova rsi, r8
add rsi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp rdx, 0xf
cmova rbx, r8
add rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0xa
mov rdx, rbx
call fcn.1400f8200
mov r8, rax
cmp rax, rbx
je 0x140048705
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x140048705
nop word [rax + rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1400486fd
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x1400486f0
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rsp + 0x60]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
add rcx, r9
sub rbx, rsi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x60], rbx
lea rsi, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
cmova rsi, r8
add rsi, rbx
lea rax, [rsp + 0x50]
cmp rdx, 0xf
cmova rax, r8
add rbx, rax
lea rcx, [rsp + 0x50]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0xd
mov rdx, rbx
call fcn.1400f8200
mov r8, rax
cmp rax, rbx
je 0x1400487c7
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x1400487c7
movzx eax, byte [rcx]
cmp al, 0xd
je 0x1400487bf
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x1400487b2
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rsp + 0x60]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
add rcx, r9
sub rbx, rsi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 8
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14003af50
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140048897
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048892
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x40]
movdqu xmmword [rsp + 0x60], xmm1
lea rsi, [rsp + 0x50]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 0xf
cmova rsi, r8
movq rcx, xmm1
add rsi, rcx
lea rbx, [rsp + 0x50]
cmp rdx, 0xf
cmova rbx, r8
add rbx, rcx
lea rcx, [rsp + 0x50]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0x3a
mov rdx, rbx
call fcn.1400f8200
mov r8, rax
cmp rax, rbx
je 0x140048925
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x140048925
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp al, 0x3a
je 0x14004891d
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x140048910
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rsp + 0x60]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
add rcx, r9
sub rbx, rsi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x60], rbx
lea rsi, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
cmova rsi, r8
add rsi, rbx
lea rax, [rsp + 0x50]
cmp rdx, 0xf
cmova rax, r8
add rbx, rax
lea rcx, [rsp + 0x50]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0x3a
mov rdx, rbx
call fcn.1400f8200
mov r8, rax
cmp rax, rbx
je 0x1400489e7
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x1400489e7
movzx eax, byte [rcx]
cmp al, 0x3a
je 0x1400489df
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x1400489d2
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rsp + 0x60]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
add rcx, r9
sub rbx, rsi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x140129cc0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140048aac
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048a9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048a9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129cc0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004819e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048199
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3