Function at 0x14001ee00
Capabilities:
Create process on windows
Delete file
Get common file path
Query or enumerate registry value
Set file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xb20
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0xb10], rax
call fcn.140016bd0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x100]
call fcn.140080d50
mov edx, 0x104
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [rsp + 0x100], 0
je 0x14001f2d6
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0xfe], 0x5c
je 0x14001eea6
lea rdx, [0x1400a3ff4]
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DiasUninst.EXE
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea esi, [rbp + 1]
cmp rax, 0xffffffffffffffff
jne 0x14001efe6
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x100]
call fcn.140080d50
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x5c], 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001f2d6
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.SystemRoot
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.System32_
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DiasUninst.EXE
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14001f2d6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x310]
call fcn.140080d50
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x310]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x1400a7708]
lea rcx, [rsp + 0x310]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x90]
call fcn.140080d50
xor edx, edx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x90], 0x68
mov dword [rsp + 0xcc], esi
mov word [rsp + 0xd0], dx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x310]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001f2d6
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x14001f0e6
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400696cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14001f10e
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x100]
or r12, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14001f169
movzx edi, cx
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14001f261
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003a40
mov rbx, qword [rsp + 0x50]
jmp 0x14001f261
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001f1e3
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001f261
cmp dword [rdx + 0x10], eax
jge 0x14001f1b7
cmp dword [rbx - 0xc], eax
jge 0x14001f1ac
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14001f261
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f1cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
jmp 0x14001f261
mov r13d, dword [rbx - 0x10]
lea rbp, [rsp + 0x100]
sub rbp, rbx
sar rbp, 1
sub esi, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ecx
or eax, esi
jge 0x14001f212
mov edx, ecx
lea rcx, [rsp + 0x50]
call fcn.140003180
mov rbx, qword [rsp + 0x50]
cmp rbp, r13
ja 0x14001f232
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140081c40
jmp 0x14001f24f
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x100]
mov rdx, rsi
mov rcx, rbx
call fcn.140080540
test edi, edi
js 0x14001f2cb
cmp edi, dword [rbx - 0xc]
jg 0x14001f2cb
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
mov edx, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, str..INI
lea rdx, str..EXE
lea rcx, [rsp + 0x50]
call fcn.1400140f0
mov edx, 0x20
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14001f2d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001f2d6
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rsp + 0xb10]
xor rcx, rsp
call fcn.140081050
lea r11, [rsp + 0xb20]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret