Function at 0x100032168
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x1b0
mov rax, qword [0x10007f110]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
xor edi, edi
mov rsi, rcx
and qword [rsp + 0x30], rdi
lea r12d, [rdi + 0x5e]
lea r8, [0x100003e48]
lea rcx, [rsp + 0x60]
mov ebx, 0x100
mov edx, r12d
mov dword [rsp + 0x50], ebx
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64
lea rcx, [rsp + 0xa0]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea r8d, [rdi + 0x28]
lea rcx, [rsp + 0x70]
xor edx, edx
call sub.msvcrt.dll_memset
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x100032216
mov r9d, eax
lea r8, [0x100003e70]
jmp 0x1000323ce
mov rcx, rsi
call fcn.100033014
test eax, eax
jne 0x100032233
mov ebx, 0x80004005
lea r8, [0x100003ea0]
jmp 0x1000323cb
mov rcx, rsi
call fcn.100032728
cmp eax, 1
je 0x100032252
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x100003ed0]
jmp 0x1000323bd
lea rcx, [0x10007ff50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ATL.DLL_AtlModuleRegisterServer]
mov ebx, eax
test eax, eax
jns 0x100032279
mov r9d, eax
lea r8, [0x100003f00]
jmp 0x1000323ce
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x70]
mov ecx, 1
mov qword [rsp + 0x20], rax
call sub.vdsutil.dll_unsigned_long_int___cdecl_InitializeSecurityDescriptor_unsigned_long_int__void____ptr64__struct__ACL____ptr64____ptr64__void____ptr64____ptr64__void____ptr64____ptr64__void____ptr64____ptr64_
mov edi, eax
test eax, eax
je 0x1000322b8
lea r8, [0x100003f30]
jmp 0x1000323bd
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_MakeSelfRelativeSD]
test eax, eax
jne 0x1000322e6
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x100003f60]
jmp 0x1000323bd
lea rcx, [rsp + 0xa0]
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_GetSecurityDescriptorLength]
lea rdx, [0x100002140]
mov r9d, 0x2000000
mov esi, eax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x10003232f
lea r8, [0x100003f90]
jmp 0x1000323bd
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0xa0]
lea rdx, [0x100003fc0]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x10003236a
lea r8, [0x100003fe8]
jmp 0x1000323bd
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0xa0]
lea rdx, [0x100004018]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x1000323a5
lea r8, [0x100004040]
jmp 0x1000323bd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov edi, eax
test eax, eax
je 0x1000323d8
lea r8, [0x100004070]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r9d, ebx
xor edx, edx
mov ecx, r12d
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_GetProcessHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rax
call sub.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_
and qword [rsp + 0x48], 0
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_GetProcessHeap]
mov r8, qword [rsp + 0x58]
mov rcx, rax
xor edx, edx
call sub.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_
and qword [rsp + 0x58], 0
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_GetProcessHeap]
mov r8, qword [rsp + 0x38]
mov rcx, rax
xor edx, edx
call sub.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_
and qword [rsp + 0x38], 0
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_GetProcessHeap]
mov r8, qword [rsp + 0x40]
mov rcx, rax
xor edx, edx
call sub.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_
and qword [rsp + 0x40], 0
test ebx, ebx
jns 0x100032468
and qword [rsp + 0x28], 0
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0xc2000001
mov dword [rsp + 0x20], 0x2010009
call fcn.1000320a8
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rsp + 0x60]
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.100075490
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret