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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa58]
sub rsp, 0xb30
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0xa20], rax
xor r8d, r8d
lea rdx, str.Tool_DIASUninstallExec
lea rcx, [rsp + 0x58]
call fcn.140001190
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x220]
call fcn.14019d7c0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14019d7c0
xor edx, edx
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x78], r15d
call fcn.14001ddf0
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [rbp + 0x10], r15w
jne 0x14001d024
lea r8, [0x1402209ac]
lea edx, [r15 + 2]
lea rcx, [rsp + 0x58]
call fcn.140001370
nop
jmp 0x14001d462
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0xe], 0x5c
je 0x14001d04a
lea rdx, [0x14021d21c]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DiasUninst.EXE
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12d, 1
cmp rax, 0xffffffffffffffff
jne 0x14001d1a7
mov qword [rsp + 0x70], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.14019d7c0
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x7c], 0x208
lea rax, [rsp + 0x70]
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 0x14001d18b
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.SystemRoot
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.System32_
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DiasUninst.EXE
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14001d1a7
lea r8, str.Cant_Found_DIASUninst.EXE
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140001370
nop
jmp 0x14001d462
lea r8, str.Case_Win9X_Me
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140001370
nop
jmp 0x14001d462
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14021f988]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], r12d
mov word [rbp - 0x20], r15w
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x220]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001d23e
lea r8, str.Cant_Execute_DIAS_Uninstaller
lea edx, [rax + 2]
lea rcx, [rsp + 0x58]
call fcn.140001370
nop
jmp 0x14001d462
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x14001d26b
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140056384
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001d294
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
or r13, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14001d2e7
movzx edi, cx
mov ecx, edi
call fcn.140056158
test rax, rax
je 0x14001d3d7
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005730
mov rbx, qword [rsp + 0x50]
jmp 0x14001d3d7
xor eax, eax
mov rcx, r13
lea rdi, [rbp + 0x10]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14001d35d
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001d3d7
cmp dword [rdx + 0x10], eax
jge 0x14001d332
cmp dword [rbx - 0xc], eax
jge 0x14001d325
mov ecx, 0x80070057
call fcn.140004550
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14001d3d7
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001d349
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 0x14001d3d7
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp + 0x10]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x14001d37a
mov ecx, 0x80070057
call fcn.140004550
int3
sub r12d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ecx
or eax, r12d
jge 0x14001d399
mov edx, ecx
lea rcx, [rsp + 0x50]
call fcn.140005ae0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
lea r12, [rax + rax]
add rdx, rdx
mov r9, r12
cmp rsi, r14
ja 0x14001d3bd
lea r8, [rbx + rsi*2]
call fcn.140199418
jmp 0x14001d3c6
lea r8, [rbp + 0x10]
call fcn.140199918
cmp edi, dword [rbx - 0xc]
jg 0x14001d457
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], r15w
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.140014f00
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]
lea r8, [0x1402209ac]
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140001370
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x14001d455
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14001d462
mov ecx, 0x80070057
call fcn.140004550
nop
lea rcx, [rsp + 0x58]
call fcn.140001320
mov rcx, qword [rbp + 0xa20]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0xb30]
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