Function at 0x140003954
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400122a0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rdi, rsp
mov ecx, 0x84
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x220]
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x248]
call fcn.140004a7a
inc rax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x240], 7
je 0x140012318
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
jmp 0x140012bee
mov dword [rsp + 0x38], 0x14
mov dword [rsp + 0x3c], 5
mov eax, dword [rsp + 0x34]
shl rax, 1
mov dword [rsp + 0x40], eax
imul eax, dword [rsp + 0x38], 0x104
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
shl rax, 1
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x1b8], rax
mov eax, 2
mov rcx, qword [rsp + 0x1b8]
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 + 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 + 0x230]
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x140138588]
mov rcx, qword [rsp + 0x248]
call fcn.140004115
test rax, rax
je 0x140012bd4
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x74]
mov qword [rsp + 0x1c0], rax
mov eax, 8
mov rcx, qword [rsp + 0x1c0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x94]
mov qword [rsp + 0x1c8], rax
mov eax, 8
mov rcx, qword [rsp + 0x1c8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0
jmp 0x1400124b7
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0xb8], eax
jae 0x140012513
mov ecx, 0x208
call fcn.140004f34
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x140]
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 0x1400124a7
mov dword [rsp + 0xbc], 0
jmp 0x140012530
mov eax, dword [rsp + 0xbc]
inc eax
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0xbc], eax
jae 0x14001258f
mov ecx, 0x208
call fcn.140004f34
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x148]
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 0x140012520
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 + 0x40]
mov rcx, qword [rsp + 0x248]
call fcn.140001069
mov eax, dword [rsp + 0x94]
mov qword [rsp + 0x1d0], rax
mov eax, 8
mov rcx, qword [rsp + 0x1d0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0x74]
mov qword [rsp + 0x1d8], rax
mov eax, 8
mov rcx, qword [rsp + 0x1d8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0
jmp 0x140012684
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0xd8], eax
jae 0x1400126e0
mov ecx, 0x208
call fcn.140004f34
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x160]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0xd8]
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + rax*8]
call fcn.140003959
jmp 0x140012674
mov dword [rsp + 0xdc], 0
jmp 0x1400126fd
mov eax, dword [rsp + 0xdc]
inc eax
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0xdc], eax
jae 0x140012822
mov eax, dword [rsp + 0xdc]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx + rax*8]
add rax, 6
mov rcx, rax
call fcn.140004a7a
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xe0]
shl rax, 1
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe0]
inc eax
mov eax, eax
mov qword [rsp + 0x1e0], rax
mov eax, 2
mov rcx, qword [rsp + 0x1e0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x168], rax
mov eax, dword [rsp + 0xdc]
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x168]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0xe4]
add rax, 2
mov ecx, dword [rsp + 0xdc]
mov r8, rax
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + rcx*8]
call fcn.140003959
mov eax, dword [rsp + 0xe4]
mov ecx, dword [rsp + 0xdc]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rdx + rcx*8]
add rcx, 6
mov edx, dword [rsp + 0xe4]
mov r8d, dword [rsp + 0xdc]
mov qword [rsp + 0x1e8], r8
mov r9d, eax
mov r8, rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x1e8]
mov rcx, qword [rax + rcx*8]
call fcn.14000ec50
jmp 0x1400126ed
mov dword [rsp + 0xe8], 0
jmp 0x14001283f
mov eax, dword [rsp + 0xe8]
inc eax
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0xe8], eax
jae 0x14001297e
mov dword [rsp + 0xec], 1
mov dword [rsp + 0xf0], 0
jmp 0x140012878
mov eax, dword [rsp + 0xf0]
inc eax
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0xf0], eax
jae 0x1400128c4
mov eax, dword [rsp + 0xe8]
mov ecx, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xa8]
mov rdx, qword [rdx + rax*8]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + rcx*8]
call fcn.1400012d0
test eax, eax
jne 0x1400128c2
mov dword [rsp + 0xec], 0
jmp 0x140012868
cmp dword [rsp + 0xec], 0
je 0x140012979
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x1f0], rax
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + rax*8]
call fcn.140004a7a
shl rax, 1
mov qword [rsp + 0x1f8], rax
mov ecx, dword [rsp + 0xe8]
mov qword [rsp + 0x200], rcx
mov edx, dword [rsp + 0xe8]
mov r8, qword [rsp + 0xa8]
mov rcx, qword [r8 + rdx*8]
call fcn.140004a7a
shl rax, 1
mov rcx, qword [rsp + 0x1f8]
mov r9, rcx
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x200]
mov r8, qword [rcx + rdx*8]
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call fcn.14000ec50
jmp 0x14001282f
cmp dword [rsp + 0xc8], 0
je 0x1400129f3
mov dword [rsp + 0x104], 0x104
lea r9, [rsp + 0x104]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140003d9b
mov eax, dword [rsp + 0x104]
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x240]
xor r8d, r8d
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
jmp 0x140012a0d
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x114], 0
jmp 0x140012a2a
mov eax, dword [rsp + 0x114]
inc eax
mov dword [rsp + 0x114], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x114], eax
jae 0x140012a61
mov eax, dword [rsp + 0x114]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.140003c47
jmp 0x140012a1a
mov dword [rsp + 0x118], 0
jmp 0x140012a7e
mov eax, dword [rsp + 0x118]
inc eax
mov dword [rsp + 0x118], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x118], eax
jae 0x140012ab5
mov eax, dword [rsp + 0x118]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.140003c47
jmp 0x140012a6e
mov dword [rsp + 0x11c], 0
jmp 0x140012ad2
mov eax, dword [rsp + 0x11c]
inc eax
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x11c], eax
jae 0x140012b0c
mov eax, dword [rsp + 0x11c]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.140003c47
jmp 0x140012ac2
mov dword [rsp + 0x120], 0
jmp 0x140012b29
mov eax, dword [rsp + 0x120]
inc eax
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x120], eax
jae 0x140012b60
mov eax, dword [rsp + 0x120]
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.140003c47
jmp 0x140012b19
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x190]
call fcn.140003c47
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.140003c47
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.140003c47
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.140003c47
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.140003c47
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14013a1d0]
call fcn.140005466
mov eax, edi
add rsp, 0x210
pop rdi
ret