Function at 0x1000031c8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xba0
mov rax, qword [0x10000f130]
xor rax, rsp
mov qword [rsp + 0xb90], rax
xor r9d, r9d
mov r13, r8
mov r14, rcx
lea ebp, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [rsp + 0x80], ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x80]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
xor r15d, r15d
cmp dword [rsp + 0x80], r15d
jne 0x1000032f7
lea rdi, [0x100001aa8]
lea ecx, [rbp + 8]
mov rsi, r13
repe cmpsw word [rsi], word [rdi]
jne 0x1000032eb
lea rcx, [rsp + 0x392]
xor edx, edx
mov r8d, 0x7fe
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
mov word [rsp + 0x390], r15w
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x390]
mov edx, 0x400
call fcn.100002ff0
lea rdi, [0x100001b90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [0x100001a48]
mov r9d, ebp
lea eax, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov rdi, qword [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp rdi, r15
je 0x1000032eb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.100002878
xor eax, eax
jmp 0x100003866
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, r15d
jl 0x1000032f0
call fcn.100002f0c
cmp eax, r15d
je 0x10000331b
call fcn.100003120
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1000032f0
call fcn.100002d8c
cmp eax, r15d
jne 0x100003313
lea r9, [0x10000fbd8]
lea r8, [0x10000fbe0]
lea rdx, [0x1000038e4]
lea rcx, [0x1000018c8]
mov r12d, r15d
mov qword [rsp + 0x88], r15
call fcn.100003920
cmp dword [0x10000fc04], r15d
je 0x1000033a1
mov al, byte [0x10000fc08]
cmp al, 4
jae 0x100003369
cmp al, r15b
jne 0x1000033a1
movabs rdx, 0x8000000000010000
test qword [0x10000fbf0], rdx
je 0x1000033a1
mov rcx, qword [0x10000fbf8]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x1000033a1
mov rcx, qword [0x10000fbd8]
lea rdx, [0x1000018d8]
call fcn.1000038c8
lea rax, [0x1000018f8]
lea rdi, [0x10000fba8]
mov qword [0x10000fbb8], r15
mov qword [0x10000fba8], r15
mov byte [0x10000fbc0], bpl
mov byte [0x10000fbc1], r15b
mov qword [0x10000fbc8], rax
mov qword [0x10000f150], rdi
mov word [0x10000fbc2], r15w
mov dword [0x10000fbc4], r15d
lea rsi, [0x10000fbc8]
mov r8, qword [rsi]
lea rax, [rdi + 8]
lea rcx, [0x100002a94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], r15
mov r9d, ebp
mov rdx, rdi
mov qword [rsp + 0x28], r15
add rsi, 8
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
mov rdi, qword [rdi]
cmp rdi, r15
jne 0x1000033ef
lea rax, [rsp + 0xa8]
lea rdx, [0x100001ac0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x78], r15d
mov qword [rsp + 0x20], rax
mov rsi, r15
mov qword [rsp + 0xa8], r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r15d
jne 0x1000034d9
mov rsi, qword [rsp + 0xa8]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
lea rdx, [0x100001ae0]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r15d
jne 0x1000034d0
cmp dword [rsp + 0x60], 4
jne 0x1000034d0
mov eax, r15d
cmp eax, r15d
je 0x1000034d9
mov eax, r15d
mov dword [rsp + 0x78], eax
jmp 0x1000034dd
mov eax, dword [rsp + 0x78]
cmp eax, r15d
je 0x100003703
lea rcx, [rsp + 0xb0]
call fcn.100005634
lea rax, [rsp + 0x90]
lea rdx, [0x100001b00]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov ebx, r15d
mov rdi, r15
mov qword [rsp + 0x90], r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r15d
jne 0x1000036db
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0x182]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x180], r15w
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x7c]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
lea r8, [rsp + 0x180]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x68], r15d
mov dword [rsp + 0x64], r15d
mov dword [rsp + 0x7c], 4
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, r15d
jne 0x1000036db
test byte [rsp + 0x64], 1
je 0x1000035e4
lea rcx, [rsp + 0x180]
call fcn.100008aa0
cmp rax, r15
je 0x1000035e4
lea rcx, [rsp + 0xb0]
xor r8d, r8d
mov rdx, rax
call fcn.100005ef4
cmp dword [rsp + 0x64], r15d
je 0x10000361d
lea rax, [rsp + 0x70]
mov ebx, 1
lea rdx, [rsp + 0x180]
lea ecx, [rbx + 3]
xor r8d, r8d
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x28], ecx
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x180]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x7c]
mov edx, ebp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
lea r8, [rsp + 0x180]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x7c], 4
inc ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, r15d
je 0x1000035b8
cmp ebx, r15d
je 0x1000036d6
call qword [sym.imp.ole32.dll_CoUninitialize]
call fcn.100002b44
lea rcx, [0x10000fbd8]
call fcn.100003898
cmp rdi, r15
je 0x1000036b2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0xb0]
call fcn.100005760
cmp rsi, r15
je 0x1000032f0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000032f0
mov ebp, 1
lea rcx, [rsp + 0xb0]
call fcn.100005dd4
cmp rdi, r15
je 0x1000036f6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0xb0]
call fcn.100005760
lea rdx, [0x100000000]
mov r9b, bpl
mov r8b, bpl
mov ecx, 8
call sub.DUI70.dll_InitProcessPriv
cmp eax, r15d
jl 0x10000381a
mov ecx, 2
call sub.DUI70.dll_InitThread
cmp eax, r15d
jl 0x10000381a
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadIconW]
mov r9d, 0x80000000
lea rcx, [0x100001b90]
mov r8, rax
lea rax, [rsp + 0x88]
xor edx, edx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0xc80000
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r9d
call qword [sym.imp.DUI70.dll_public:_static_long_int___cdecl_DirectUI::NativeHWNDHost::Create_unsigned_short_int_const____ptr64__struct_HWND______ptr64__struct_HICON______ptr64__int__int__int__int__int__int__unsigned_int__class_DirectUI::NativeHWNDHost____ptr64____ptr64_]
mov rcx, qword [rsp + 0x88]
cmp rcx, r15
je 0x10000382d
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov r9, r13
mov qword [rsp + 0x28], rax
mov r8, r14
mov qword [rsp + 0x20], r15
call fcn.100003b1c
cmp eax, r15d
jl 0x10000381a
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.DUI70.dll_public:_void___cdecl_DirectUI::Element::EndDefer_unsigned_long_int____ptr64]
mov rcx, qword [rsp + 0x88]
mov r8d, 0x64
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x30], ebp
mov r9d, r8d
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsp + 0x88]
mov edx, ebp
call qword [sym.imp.DUI70.dll_public:_void___cdecl_DirectUI::NativeHWNDHost::ShowWindow_int____ptr64]
mov r12d, ebp
call sub.DUI70.dll_StartMessagePump
mov rcx, qword [rsp + 0x88]
cmp rcx, r15
je 0x10000382d
call qword [sym.imp.DUI70.dll_public:_void___cdecl_DirectUI::NativeHWNDHost::Destroy_void____ptr64]
call sub.DUI70.dll_UnInitThread
lea rcx, [0x100000000]
call sub.DUI70.dll_UnInitProcessPriv
call qword [sym.imp.ole32.dll_CoUninitialize]
call fcn.100002b44
lea rcx, [0x10000fbd8]
call fcn.100003898
cmp rsi, r15
je 0x100003863
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r12d
mov rcx, qword [rsp + 0xb90]
xor rcx, rsp
call fcn.10000a940
mov rbx, qword [rsp + 0xbe8]
add rsp, 0xba0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret