Function at 0x14001d378
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rcx
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
xor esi, esi
mov edi, pe_nt_image_headers64
mov dword [rsp + 0x38], edi
and qword [rsp + 0x30], rsi
lea r8, str.CVdsServiceModule::RegisterServer__
lea r15d, [rsi + 0x5e]
mov edx, r15d
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14001d436
mov r9d, eax
lea r8, str.CVdsServiceModule::RegisterServer__1___lX
jmp 0x14001d663
mov rcx, rbx
call fcn.14001ef88
test eax, eax
jne 0x14001d453
mov edi, 0x80004005
lea r8, str.CVdsServiceModule::RegisterServer__2___lX
jmp 0x14001d660
mov rcx, rbx
call fcn.14001a270
cmp eax, 1
je 0x14001d487
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14001d47b
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__3___lX
jmp 0x14001d660
call fcn.140018728
mov edi, eax
test eax, eax
jns 0x14001d4a1
mov r9d, eax
lea r8, str.CVdsServiceModule::RegisterServer__4___lX
jmp 0x14001d663
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov ecx, 1
call qword [sym.imp.vdsutil.dll_InitializeSecurityDescriptorHelper]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14001d4f6
jg 0x14001d4e1
mov edi, eax
jmp 0x14001d4ea
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__5___lX
jmp 0x14001d660
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_MakeSelfRelativeSD]
nop dword [rax + rax]
test eax, eax
jne 0x14001d53b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14001d52f
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__6___lX
jmp 0x14001d660
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSecurityDescriptorLength]
nop dword [rax + rax]
mov ebx, eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2000000
xor r8d, r8d
lea rdx, str.AppIDF290BFB2_1864_45B1_8804_2654194A87E7
mov rcx, 0xffffffff80000000
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14001d59b
jg 0x14001d586
mov edi, eax
jmp 0x14001d58f
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__7___lX
jmp 0x14001d660
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.LaunchPermission
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14001d5e7
jg 0x14001d5d5
mov edi, eax
jmp 0x14001d5de
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__8___lX
jmp 0x14001d660
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.AccessPermission
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14001d633
jg 0x14001d621
mov edi, eax
jmp 0x14001d62a
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__9___lX
jmp 0x14001d660
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14001d674
jg 0x14001d650
mov edi, eax
jmp 0x14001d659
movzx edi, ax
or edi, 0x80070000
lea r8, str.CVdsServiceModule::RegisterServer__10___lX
mov r9d, edi
xor edx, edx
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
mov rbx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
and qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
and qword [rsp + 0x50], 0
mov rbx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
and qword [rsp + 0x58], 0
test edi, edi
jns 0x14001d744
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x2010009
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov ecx, 0xc2000001
call fcn.140013198
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400149c0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret