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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
mov eax, 0x1310
call fcn.1400a28a0
sub rsp, rax
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x1300], rax
xor r12d, r12d
cmp ecx, 1
mov esi, edx
mov ebp, r12d
mov ebx, ecx
je 0x140018010
cmp ecx, 2
je 0x14001802d
xor eax, eax
mov rcx, qword [rsp + 0x1300]
xor rcx, rsp
call fcn.140081050
lea r11, [rsp + 0x1310]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
lea rdx, str.2304
lea rcx, str.2.30
call fcn.1400169d0
cmp eax, 1
je 0x140017fe4
cmp eax, 2
je 0x140017fe4
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWARECanonVDCSETUP
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018316
lea rcx, [rsp + 0xf0]
xor edx, edx
mov r8d, 0x208
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 0x208
call fcn.140080d50
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x54]
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x50]
lea rdx, str.Path
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001830b
cmp esi, 1
mov qword [rsp + 0x1320], rdi
jne 0x1400180fe
lea r8, [rsp + 0xf0]
lea rdx, str.CURRENT_DIRECTORY_PATH:__s_
lea rcx, [rsp + 0x300]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, str.Tool_VDCServiceControl__000
lea rdx, [rsp + 0x300]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xf0]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0xec], 0x5c
je 0x140018143
lea r9, str.AuVDC.EXE
lea r8, [rsp + 0xf0]
lea rdx, [0x1400a3e08]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140018167
lea r9, str.AuVDC.EXE
lea r8, [rsp + 0xf0]
lea rdx, [0x1400a3e50]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.USER32.dll_wsprintfW]
cmp ebx, 1
jne 0x140018185
lea r8, str.__stop
lea rcx, [rsp + 0xb00]
mov edx, 0x400
call fcn.140082370
cmp esi, 1
jne 0x1400181c1
lea r8, [rsp + 0xb00]
lea rdx, str.Command_Line:__s_
lea rcx, [rsp + 0x300]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, str.Tool_VDCServiceControl__001
lea rdx, [rsp + 0x300]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor edx, edx
lea rcx, [rsp + 0x80]
lea r8d, [rdx + 0x68]
call fcn.140080d50
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0xb00]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xf0]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
xor ecx, ecx
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x80], 0x68
mov word [rsp + 0xc0], 5
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0xbc], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov ebp, eax
je 0x14001829c
cmp ebx, 1
jne 0x14001827c
mov edi, r12d
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.VdcDispatcher
lea rcx, str.VdcAppClass
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14001827c
add edi, 1
cmp edi, 0x3c
jl 0x140018250
cmp esi, 1
jne 0x1400182d9
lea r8, str.Tool_VDCServiceControl__002
lea rdx, str.CreateProcess_OK
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400182d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 1
jne 0x1400182d9
lea rdx, str.CreateProcess_ERROR:__d_
lea rcx, [rsp + 0x300]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, str.Tool_VDCServiceControl__003
lea rdx, [rsp + 0x300]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x1320]
test rcx, rcx
je 0x1400182f6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001830b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], r12
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x140017fe6