Function at 0x14011cad0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x9510
call fcn.1401da720
sub rsp, rax
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x9500], rax
mov rcx, qword [rsp + 0x9520]
call fcn.14011c8a0
mov rcx, qword [rsp + 0x9528]
call fcn.14011c8a0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x9520]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011cb45
jmp 0x14011cf36
lea rax, [rsp + 0x84d0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x9528]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011cba5
lea r8, [rsp + 0x84d0]
mov rdx, qword [rsp + 0x9528]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x14011cba5
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14011cf36
movzx eax, word [0x1402286dc]
mov word [rsp + 0x80a0], ax
lea rdi, [rsp + 0x80a2]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x8094], 0
mov dword [rsp + 0x84d8], 0x3fff
lea rax, [rsp + 0x84c0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x8090]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x84c8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x84cc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x82b0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x8094]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x80a0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x8094], 0
je 0x14011cd64
mov edx, dword [rsp + 0x8094]
lea rcx, str._nNumber_of_subkeys:__d_n
call fcn.1400acf78
mov dword [rsp + 0x6c], 0
jmp 0x14011cc9a
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x8094]
cmp dword [rsp + 0x6c], eax
jae 0x14011cd64
mov dword [rsp + 0x68], 0xff
lea rax, [rsp + 0x84c0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x82c0]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x14011cd5f
lea r9, [rsp + 0x82c0]
mov r8, qword [rsp + 0x9520]
lea rdx, [0x140228d70]
lea rcx, [rsp + 0x84e0]
call fcn.1400a97a4
lea r9, [rsp + 0x82c0]
mov r8, qword [rsp + 0x9528]
lea rdx, [0x140228d80]
lea rcx, [rsp + 0x8ce0]
call fcn.1400a97a4
lea rdx, [rsp + 0x8ce0]
lea rcx, [rsp + 0x84e0]
call fcn.14011cad0
jmp 0x14011cc8f
cmp dword [rsp + 0x84cc], 0
je 0x14011cf1d
mov edx, dword [rsp + 0x84cc]
lea rcx, str._nNumber_of_values:__d_n
call fcn.1400acf78
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x7c], 0
jmp 0x14011cda2
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84cc]
cmp dword [rsp + 0x6c], eax
jae 0x14011cf1d
mov dword [rsp + 0x84d8], 0x3fff
xor eax, eax
mov word [rsp + 0x90], ax
mov dword [rsp + 0x94e8], 0
mov qword [rsp + 0x94e0], 0
mov dword [rsp + 0x94ec], 0
lea rax, [rsp + 0x94ec]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x94e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x84d8]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x7c], eax
mov ecx, dword [rsp + 0x94ec]
call fcn.140072250
mov qword [rsp + 0x94f0], rax
mov rax, qword [rsp + 0x94f0]
mov qword [rsp + 0x94e0], rax
mov dword [rsp + 0x84d8], 0x3fff
lea rax, [rsp + 0x94ec]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x94e0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x94e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x84d8]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x14011cefb
mov eax, dword [rsp + 0x94ec]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x94e0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x94e8]
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x84d0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rsp + 0x94e0]
mov qword [rsp + 0x94f8], rax
mov rcx, qword [rsp + 0x94f8]
call fcn.140072248
jmp 0x14011cd97
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x84d0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x9500]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x9510
pop rdi
ret