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

Disassembly:
jmp 0x1400104e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rdi, rsp
mov ecx, MsiProvideComponentW
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a0]
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x1c8]
call fcn.140004a7a
inc rax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
shl rax, 1
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x1c0], 4
jne 0x140010583
mov dword [rsp + 0x28], 4
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1c0]
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
jmp 0x140010c86
cmp dword [rsp + 0x1c0], 1
je 0x140010597
cmp dword [rsp + 0x1c0], 2
jne 0x1400105d6
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1c0]
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
jmp 0x140010c86
cmp dword [rsp + 0x1c0], 7
jne 0x140010c49
mov dword [rsp + 0x3c], 0x14
mov dword [rsp + 0x40], 5
imul eax, dword [rsp + 0x3c], 0x104
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
shl rax, 1
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x160], rax
mov eax, 2
mov rcx, qword [rsp + 0x160]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x44]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.140003959
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x1401380b8]
mov rcx, qword [rsp + 0x1c8]
call fcn.140004115
test rax, rax
je 0x140010bf3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x74]
mov qword [rsp + 0x168], rax
mov eax, 8
mov rcx, qword [rsp + 0x168]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x94]
mov qword [rsp + 0x170], rax
mov eax, 8
mov rcx, qword [rsp + 0x170]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0
jmp 0x140010770
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0xb8], eax
jae 0x1400107cc
mov ecx, 0x208
call fcn.140004f34
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x118]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0xb8]
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + rax*8]
call fcn.140003959
jmp 0x140010760
mov dword [rsp + 0xbc], 0
jmp 0x1400107e9
mov eax, dword [rsp + 0xbc]
inc eax
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0xbc], eax
jae 0x140010848
mov ecx, 0x208
call fcn.140004f34
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x120]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0xbc]
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + rax*8]
call fcn.140003959
jmp 0x1400107d9
lea r9, [rsp + 0x74]
mov r8, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call fcn.140001069
lea r9, [rsp + 0x94]
mov r8, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x1c8]
call fcn.140001069
mov dword [rsp + 0xc0], 0
jmp 0x1400108a1
mov eax, dword [rsp + 0xc0]
inc eax
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0xc0], eax
jae 0x140010a8e
mov dword [rsp + 0xc4], 1
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx + rax*8]
add rax, 6
mov rcx, rax
call fcn.140004a7a
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
shl rax, 1
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xc8]
inc eax
mov eax, eax
mov qword [rsp + 0x178], rax
mov eax, 2
mov rcx, qword [rsp + 0x178]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0xcc]
add rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.140003959
mov eax, dword [rsp + 0xcc]
mov ecx, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rdx + rcx*8]
add rcx, 6
mov edx, dword [rsp + 0xcc]
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xd0]
call fcn.14000ec50
mov dword [rsp + 0xd8], 0
jmp 0x1400109b7
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0xd8], eax
jae 0x1400109f5
mov eax, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + rax*8]
call fcn.1400012d0
test eax, eax
jne 0x1400109f3
mov dword [rsp + 0xc4], 0
jmp 0x1400109a7
cmp dword [rsp + 0xc4], 0
je 0x140010a6c
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x180], rax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0xd0]
call fcn.140004a7a
shl rax, 1
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140004a7a
shl rax, 1
mov rcx, qword [rsp + 0x188]
mov r9, rcx
mov r8, qword [rsp + 0xd0]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.14000ec50
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.140003c47
jmp 0x140010891
mov eax, dword [rsp + 0x54]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0xe4], eax
lea r9, [rsp + 0xe4]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xa8]
call fcn.140003d9b
cmp dword [rsp + 0x74], 0
je 0x140010b07
mov eax, dword [rsp + 0xe4]
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1c0]
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
jmp 0x140010b0f
mov dword [rsp + 0x30], 0
mov dword [rsp + 0xf4], 0
jmp 0x140010b2c
mov eax, dword [rsp + 0xf4]
inc eax
mov dword [rsp + 0xf4], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0xf4], eax
jae 0x140010b63
mov eax, dword [rsp + 0xf4]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x138]
call fcn.140003c47
jmp 0x140010b1c
mov dword [rsp + 0xf8], 0
jmp 0x140010b80
mov eax, dword [rsp + 0xf8]
inc eax
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0xf8], eax
jae 0x140010bb7
mov eax, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.140003c47
jmp 0x140010b70
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call fcn.140003c47
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.140003c47
jmp 0x140010c2d
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1c0]
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.140003c47
jmp 0x140010c86
mov eax, dword [rsp + 0x1d0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1c0]
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401397d0]
call fcn.140005466
mov eax, edi
add rsp, 0x190
pop rdi
ret