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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x180295a70]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov r13b, cl
xor r14d, r14d
mov word [r11 - 0x248], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x246]
call fcn.1801603e0
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x48], r14d
xor eax, eax
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, r14d
jne 0x18002dc65
mov ebp, r14d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x2a0]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r15d, 0x103
cmp eax, r15d
je 0x18002dc5a
mov qword [rsp + 0x50], r14
lea rcx, [0x1802886b8]
mov rax, qword [0x1802886b8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x2a0]
call fcn.18015fd20
mov r8d, eax
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x58]
call fcn.180001bf4
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones
call fcn.18015fd20
mov r8d, eax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones
lea rcx, [rsp + 0x58]
call fcn.18000e0dc
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov r9d, 0xf003f
xor r8d, r8d
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, r14d
jne 0x18002dbe0
mov word [rsp + 0x90], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x92]
call fcn.1801603e0
mov dword [rsp + 0x44], 0x104
mov esi, r14d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r15d
je 0x18002dbd5
lea r12, [rbx - 0x18]
mov rcx, r12
call fcn.18000117c
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rcx, [0x1801918f8]
call fcn.18015fd20
mov r8d, eax
lea rdx, [0x1801918f8]
lea rcx, [rsp + 0x68]
call fcn.18000e0dc
lea rcx, [rsp + 0x90]
call fcn.18015fd20
mov r8d, eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.18000e0dc
mov qword [rsp + 0x78], r14
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, r14d
jne 0x18002db56
mov al, r13b
neg al
sbb ecx, ecx
not ecx
and ecx, 3
mov dword [rsp + 0x70], ecx
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, str.160A
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x44], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call fcn.1801603e0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
cmp eax, r14d
jg 0x18002db91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add esi, 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x90]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r15d
jne 0x18002da87
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2a0]
call fcn.1801603e0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
cmp eax, r14d
jg 0x18002dc1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add ebp, 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x2a0]
mov edx, ebp
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r15d
jne 0x18002d98a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1801604e0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret