Function at 0x14011e3c0
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.1401e9500
sub rsp, rax
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x9500], rax
mov rcx, qword [rsp + 0x9520]
call fcn.14011e190
mov rcx, qword [rsp + 0x9528]
call fcn.14011e190
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 0x14011e435
jmp 0x14011e826
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 0x14011e495
lea r8, [rsp + 0x84d0]
mov rdx, qword [rsp + 0x9528]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x14011e495
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14011e826
movzx eax, word [0x14023918c]
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 0x14011e654
mov edx, dword [rsp + 0x8094]
lea rcx, str._nNumber_of_subkeys:__d_n
call fcn.1400ae204
mov dword [rsp + 0x6c], 0
jmp 0x14011e58a
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x8094]
cmp dword [rsp + 0x6c], eax
jae 0x14011e654
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 0x14011e64f
lea r9, [rsp + 0x82c0]
mov r8, qword [rsp + 0x9520]
lea rdx, [0x140239820]
lea rcx, [rsp + 0x84e0]
call fcn.1400aa834
lea r9, [rsp + 0x82c0]
mov r8, qword [rsp + 0x9528]
lea rdx, [0x140239830]
lea rcx, [rsp + 0x8ce0]
call fcn.1400aa834
lea rdx, [rsp + 0x8ce0]
lea rcx, [rsp + 0x84e0]
call fcn.14011e3c0
jmp 0x14011e57f
cmp dword [rsp + 0x84cc], 0
je 0x14011e80d
mov edx, dword [rsp + 0x84cc]
lea rcx, str._nNumber_of_values:__d_n
call fcn.1400ae204
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x7c], 0
jmp 0x14011e692
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84cc]
cmp dword [rsp + 0x6c], eax
jae 0x14011e80d
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.140073290
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 0x14011e7eb
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.140073288
jmp 0x14011e687
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.1400a9820
add rsp, 0x9510
pop rdi
ret