Function at 0x140014ee0
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 [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0xa20], rax
xor r8d, r8d
lea rdx, str.Tool_DIASUninstallExec
lea rcx, [rsp + 0x58]
call fcn.140017fc0
nop
call fcn.14000d550
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.140192cb0
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [rbp + 0x10], 0
jne 0x140014f7c
lea r8, [0x1401c6ea8]
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140017c80
nop
jmp 0x1400153e9
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0xe], 0x5c
je 0x140014fa2
lea rdx, [0x1401c7444]
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]
xor r15d, r15d
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]
lea r12d, [r15 + 1]
cmp rax, 0xffffffffffffffff
jne 0x1400150fb
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.140192cb0
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x6c], 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 0x1400150df
lea rax, [rsp + 0x6c]
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 0x1400150fb
lea r8, str.Cant_Found_DIASUninst.EXE
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140017c80
nop
jmp 0x1400153e9
lea r8, str.Case_Win9X_Me
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140017c80
nop
jmp 0x1400153e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x220]
call fcn.140192cb0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x1401cb838]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140192cb0
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], r12d
mov word [rbp - 0x20], r15w
lea rax, [rsp + 0x78]
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 0x1400151c5
lea r8, str.Cant_Execute_DIAS_Uninstaller
lea edx, [rax + 2]
lea rcx, [rsp + 0x58]
call fcn.140017c80
nop
jmp 0x1400153e9
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x1400151f2
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140051e58
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001521b
mov ecx, 0x80004005
call fcn.140001010
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 0x14001526e
movzx edi, cx
mov ecx, edi
call fcn.140051c2c
test rax, rax
je 0x14001535e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001b00
mov rbx, qword [rsp + 0x50]
jmp 0x14001535e
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 0x1400152e4
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001535e
cmp dword [rdx + 0x10], eax
jge 0x1400152b9
cmp dword [rbx - 0xc], eax
jge 0x1400152ac
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14001535e
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400152d0
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 0x14001535e
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp + 0x10]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x140015301
mov ecx, 0x80070057
call fcn.140001010
int3
sub r12d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ecx
or eax, r12d
jge 0x140015320
mov edx, ecx
lea rcx, [rsp + 0x50]
call fcn.1400018f0
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 0x140015344
lea r8, [rbx + rsi*2]
call fcn.140192c44
jmp 0x14001534d
lea r8, [rbp + 0x10]
call fcn.140192bbc
cmp edi, dword [rbx - 0xc]
jg 0x1400153de
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.14000ad60
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, [0x1401c6ea8]
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140017c80
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x1400153dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400153e9
mov ecx, 0x80070057
call fcn.140001010
nop
lea rcx, [rsp + 0x58]
call fcn.140018150
mov rcx, qword [rbp + 0xa20]
xor rcx, rsp
call fcn.1401945b0
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