Function at 0x14000eb20
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 - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0xc70], rax
xor r8d, r8d
lea rdx, str.Tool_VDCModuleUninstallExec
lea rcx, [rsp + 0x68]
call fcn.14000b870
nop
call fcn.14000cc50
call fcn.14000f2d0
lea rdx, [rbp - 0x70]
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 0x14000ec3c
xor r13d, r13d
mov qword [rbp - 0x68], r13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
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 0x14000ec11
mov rax, qword [rbp - 0x68]
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, [r13 + 6]
lea rcx, [rsp + 0x68]
call fcn.14000ba50
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000ec20
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [0x1402145dc]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
jmp 0x14000f28f
mov dword [rbp - 0x60], 0x208
mov dword [rbp - 0x78], 1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x70]
test eax, eax
je 0x14000ed16
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r13d, r13d
mov qword [rbp - 0x80], r13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rax, [rbp - 0x80]
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 0x14000eceb
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tRegQueryValueEx
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
lea edx, [r13 + 6]
lea rcx, [rsp + 0x68]
call fcn.14000ba50
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000ecfa
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [0x1402145dc]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
jmp 0x14000f28f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14004cde4
mov rdx, rax
xor r13d, r13d
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000ed3f
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x60], rsi
call fcn.14004cde4
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000ed71
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
call fcn.14004cde4
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000eda3
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, [rbp + 0x50]
lea rax, [rbp + 0x50]
or r12, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14000edf6
movzx edi, cx
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x14000eeee
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400012a0
mov rbx, qword [rsp + 0x50]
jmp 0x14000eeee
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 0x14000ee71
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14000eeee
cmp dword [rdx + 0x10], eax
jge 0x14000ee41
cmp dword [rbx - 0xc], eax
jge 0x14000ee34
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14000eeee
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ee58
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 0x14000eeee
mov r15d, dword [rbx - 0x10]
lea r14, [rbp + 0x50]
sub r14, rbx
sar r14, 1
test ecx, ecx
jns 0x14000ee8e
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000eeb0
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400015c0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14000eed4
lea r8, [rbx + r14*2]
call fcn.14018e5f0
jmp 0x14000eedd
lea r8, [rbp + 0x50]
call fcn.14018e7d0
cmp edi, dword [rbx - 0xc]
jg 0x14000f284
mov dword [rbx - 0x10], edi
mov word [r15 + rbx], r13w
cmp dword [rbx - 0x10], 0
jge 0x14000eef9
mov edi, r12d
jmp 0x14000ef1b
lea rdx, [0x140212c48]
mov rcx, rbx
call fcn.140190f4c
mov rdi, rax
test rax, rax
jne 0x14000ef15
mov edi, r12d
jmp 0x14000ef1b
sub rdi, rbx
sar rdi, 1
mov r8d, edi
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140016750
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x14000ef87
cmp dword [rsi + 0x10], 0
jl 0x14000ef78
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14000ef78
call fcn.140001620
mov r14, rax
mov ecx, r12d
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000ef6d
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14000ef87
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400014d0
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000efa6
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.140190fb0
mov r8d, dword [rbx - 0x10]
sub r8d, edi
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400166b0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14000f031
cmp dword [rdi + 0x10], 0
jl 0x14000f022
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000f022
call fcn.140001620
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000f017
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 0x14000f031
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400014d0
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f050
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.140190fb0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x20]
call fcn.140193010
xor edx, edx
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], rdx
mov dword [rbp - 0x20], 0x68
mov dword [rbp + 0x1c], 1
mov word [rbp + 0x20], r13w
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
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 0x14000f1d3
mov qword [rsp + 0x78], r13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 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 0x14000f144
mov rax, qword [rsp + 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 + 0x68]
call fcn.14000ba50
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000f154
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [0x1402145dc]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f18c
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 0x14000f1ad
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 0x14000f1ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14000f28f
mov rdi, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x14000f1ff
lea rdx, [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x1402145dc]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f240
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 0x14000f261
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 0x14000f282
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14000f28f
mov ecx, 0x80070057
call fcn.140001000
nop
lea rcx, [rsp + 0x68]
call fcn.14000ba00
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.14018e5d0
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