Function at 0x140018650
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xca8]
sub rsp, 0xd80
mov qword [rbp - 0x30], 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 + 0xc70], rax
xor r8d, r8d
lea rdx, str.Tool_VDCModuleUninstallExec
lea rcx, [rsp + 0x70]
call fcn.140001190
nop
xor r15d, r15d
mov qword [rbp - 0x80], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.14019d7c0
mov dword [rsp + 0x6c], r15d
mov dword [rsp + 0x68], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x470]
call fcn.14019d7c0
xor edx, edx
lea r8d, [r15 + 0x68]
lea rcx, [rbp - 0x20]
call fcn.14019d7c0
xor edx, edx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rdx
call fcn.1400166e0
call fcn.140018e60
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallVDC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400187d0
mov qword [rbp - 0x70], r15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400187a5
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tRegOpenKeyEx
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
lea edx, [r15 + 6]
lea rcx, [rsp + 0x70]
call fcn.140001370
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400187b4
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [0x1402209ac]
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.140001370
nop
jmp 0x140018e1e
mov dword [rsp + 0x6c], 0x208
mov dword [rsp + 0x68], 1
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x80]
test eax, eax
je 0x1400188ac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x68], r15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140018881
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tRegQueryValueEx
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x70]
call fcn.140001370
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140018890
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [0x1402209ac]
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.140001370
nop
jmp 0x140018e1e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140056384
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400188d2
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x60], rsi
call fcn.140056384
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140018904
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
call fcn.140056384
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140018936
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 + 0x50]
lea rax, [rbp + 0x50]
or r12, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x140018989
movzx edi, cx
mov ecx, edi
call fcn.140056158
test rax, rax
je 0x140018a81
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005730
mov rbx, qword [rsp + 0x50]
jmp 0x140018a81
xor eax, eax
mov rcx, r12
lea rdi, [rbp + 0x50]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140018a04
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140018a81
cmp dword [rdx + 0x10], eax
jge 0x1400189d4
cmp dword [rbx - 0xc], eax
jge 0x1400189c7
mov ecx, 0x80070057
call fcn.140004550
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x140018a81
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400189eb
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
mov rsi, qword [rsp + 0x60]
jmp 0x140018a81
mov r14d, dword [rbx - 0x10]
lea r13, [rbp + 0x50]
sub r13, rbx
sar r13, 1
test ecx, ecx
jns 0x140018a21
mov ecx, 0x80070057
call fcn.140004550
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140018a43
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140005ae0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r13, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x140018a67
lea r8, [rbx + r13*2]
call fcn.140199418
jmp 0x140018a70
lea r8, [rbp + 0x50]
call fcn.140199918
cmp edi, dword [rbx - 0xc]
jg 0x140018e13
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r15w
cmp dword [rbx - 0x10], 0
jge 0x140018a8c
mov edi, r12d
jmp 0x140018aae
lea rdx, [0x14021eef8]
mov rcx, rbx
call fcn.1401998b4
mov rdi, rax
test rax, rax
jne 0x140018aa8
mov edi, r12d
jmp 0x140018aae
sub rdi, rbx
sar rdi, 1
mov r8d, edi
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400121e0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x140018b1a
cmp dword [rsi + 0x10], 0
jl 0x140018b0b
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140018b0b
call fcn.140006db0
mov r13, rax
mov ecx, r12d
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140018b00
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r13 + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140018b1a
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400059f0
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140018b39
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, qword [rsp + 0x60]
mov edx, 0x104
lea rcx, [rbp + 0x260]
call fcn.14019a840
mov r8d, dword [rbx - 0x10]
sub r8d, edi
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.140012140
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140018bc4
cmp dword [rdi + 0x10], 0
jl 0x140018bb5
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140018bb5
call fcn.140006db0
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140018baa
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x140018bc4
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400059f0
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140018be3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, qword [rsp + 0x58]
mov edx, 0x400
lea rcx, [rbp + 0x470]
call fcn.14019a840
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x20]
call fcn.14019d7c0
xor edx, edx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rdx
mov dword [rbp - 0x20], 0x68
mov dword [rbp + 0x1c], 1
mov word [rbp + 0x20], r15w
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
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 + 0x470]
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140018d62
mov qword [rbp - 0x78], r15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140018cd4
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tCreateProcess
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x70]
call fcn.140001370
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140018ce3
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [0x1402209ac]
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.140001370
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140018d1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140018d3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140018d5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140018e1e
mov rdi, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x140018d8e
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x1402209ac]
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.140001370
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140018dcf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140018df0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140018e11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140018e1e
mov ecx, 0x80070057
call fcn.140004550
nop
lea rcx, [rsp + 0x70]
call fcn.140001320
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0xd80]
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