Function at 0x14004ce00
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get file attributes
Get program files directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004d1bf
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rbx, [0x140163ad0]
cmp word [0x140163ad0], 0
jne 0x14004ce7f
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r9, str.RealtekAudioHDA
mov r8, rbx
lea rdx, [0x1400e4b68]
lea rcx, [rbp - 0x20]
call fcn.140006bc0
mov r12, qword [rbp - 0x20]
add r12, 0xffffffffffffffe8
mov rcx, r12
call fcn.140006b40
add rax, 0x18
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x48]
lea rdx, str.RtkNGui64.exe
call fcn.14004d1f0
mov rcx, r12
call fcn.140006b40
add rax, 0x18
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x40]
lea rdx, str.RAVCpl64.exe
call fcn.14004d1f0
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rax
lea rbx, [0x1401636d0]
cmp word [0x1401636d0], 0
jne 0x14004cf11
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004d1ca
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x50], rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140004660
mov r15, 0xffffffffffffffff
test al, al
jne 0x14004cf6a
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14004cf50
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1400048e0
nop
lea r8, [rbp - 0x50]
lea rdx, str.RtkUGui64.exe
call fcn.14004d1f0
mov rcx, r12
call fcn.140006b40
add rax, 0x18
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x38]
lea rdx, str.RAVBg64.exe
call fcn.14004d1f0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004d1d5
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x18], rax
cmp word [0x1401636d0], 0
jne 0x14004cfda
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r9, str.RTSnMg64.cpl
mov r8, rbx
lea rdx, [0x1400e4b68]
lea rcx, [rbp - 0x18]
call fcn.140006bc0
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004d028
lea r9, [0x1400e4fe8]
lea r8, str.RTSnMg64.cpl
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov rcx, 0xffffffff80000002
call fcn.140080460
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004d042
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004d1e0
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x10], rax
xor esi, esi
mov edi, esi
lea r14, str.Music__Photos_and_VideosSRS_Audio_Control_Panel.lnk
lea r13, [0x1401632d0]
cmp word [0x1401632d0], si
jne 0x14004d093
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x17]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov r9, qword [r14]
mov r8, r13
lea rdx, [0x1400e4b68]
lea rcx, [rbp - 0x10]
call fcn.140006bc0
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004d0c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
inc edi
add r14, 8
cmp edi, 0x24
jb 0x14004d073
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004d0e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14004d3f0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004d1b4
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rdi, str.RTKCPL
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rdi]
lea rdx, str.schtasks__delete__TN__s__F
lea rcx, [rbp - 0x28]
call fcn.14004d600
xor edx, edx
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WinExec]
inc esi
lea rdi, [rdi + 8]
cmp esi, 0x1d
jb 0x14004d120
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004d167
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400b00c0
nop
lock xadd dword [r12 + 0x10], r15d
sub r15d, 1
jg 0x14004d187
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c0920
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
int3
mov ecx, 0x80004005
call fcn.140004fd0
int3
mov ecx, 0x80004005
call fcn.140004fd0
int3