Function at 0x180008fa0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x31c0
call fcn.1800f1730
sub rsp, rax
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov rax, qword [0x1803a5f20]
xor rax, rsp
mov qword [rsp + 0x31b0], rax
xor eax, eax
mov word [rsp + 0x21b0], ax
lea rax, [rsp + 0x21b2]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
mov qword [rsp + 0xb0], 0xffffffff80000002
movzx eax, byte [rsp + 0x31e0]
test eax, eax
je 0x18000902e
mov qword [rsp + 0xb0], 0xffffffff80000003
mov edx, 0x800
lea rcx, [rsp + 0x21b0]
call fcn.180009d40
mov eax, 2
imul rax, rax, 0x26
mov ecx, 0x69
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, 0x74
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x5c
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x21
mov ecx, 0x74
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x32
mov ecx, 0x6c
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x73
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, 0x6e
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x4f
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x2d
mov ecx, 0x6e
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, 0x73
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, 0x64
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x63
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x46
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x2a
mov ecx, 0x55
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, 0x6f
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x41
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x2e
mov ecx, 0x73
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x57
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x25
mov ecx, 0x73
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x69
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x2f
mov ecx, 0x74
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x53
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, 0x57
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, 0x69
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, 0x5c
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, 0x6f
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x33
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x68
jae 0x180009288
jmp 0x18000928d
call fcn.1800f1588
xor eax, eax
mov rcx, qword [rsp + 0xc0]
mov word [rsp + rcx + 0x140], ax
mov eax, 2
imul rax, rax, 0x1f
mov ecx, 0x65
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, 0x43
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x4d
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, 0x6f
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x72
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, 0x6e
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x54
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x20
mov ecx, 0x6e
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, 0x77
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x31
mov ecx, 0x6c
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x22
mov ecx, 0x56
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x72
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x23
mov ecx, 0x65
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x5c
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x45
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, 0x72
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x24
mov ecx, 0x72
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x2c
mov ecx, 0x69
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x30
mov ecx, 0x61
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x52
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, 0x75
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, 0x6f
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x66
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x2b
mov ecx, 0x6e
mov word [rsp + rax + 0x140], cx
mov eax, 2
imul rax, rax, 0x29
mov ecx, 0x5c
mov word [rsp + rax + 0x140], cx
xor eax, eax
mov word [rsp + 0x11b0], ax
lea rax, [rsp + 0x11b2]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x1b0], ax
lea rax, [rsp + 0x1b2]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
mov dword [rsp + 0x4c], 0x800
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x5c], 0x20019
movzx eax, byte [rsp + 0x31d8]
test eax, eax
je 0x18000952f
jmp 0x180009537
mov dword [rsp + 0x5c], 0x20219
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x98]
call fcn.1800017e0
nop
movzx eax, byte [rsp + 0x31e0]
test eax, eax
je 0x18000957d
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x21b0]
lea rdx, [0x18010cf70]
lea rcx, [rsp + 0x98]
call fcn.180008c90
lea rcx, [rsp + 0x98]
call fcn.180008190
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x5c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1800095d7
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x98]
call fcn.180001b80
movzx eax, byte [rsp + 0x48]
jmp 0x180009b1b
mov dword [rsp + 0x4c], 0x800
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0xac], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x11b0]
mov edx, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x50], 0
jne 0x180009af6
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x11b0]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x88]
call fcn.1800017e0
nop
movzx eax, byte [rsp + 0x31e0]
test eax, eax
je 0x1800096cf
lea r9, [rsp + 0x1b0]
lea r8, [rsp + 0x21b0]
lea rdx, [0x18010cf70]
lea rcx, [rsp + 0x88]
call fcn.180008c90
lea rcx, [rsp + 0x88]
call fcn.180008190
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x5c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x18000978c
mov dword [rsp + 0x4c], 0x800
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x11b0]
mov edx, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x88]
call fcn.180001b80
jmp 0x18000963e
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.SystemComponent
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x64], 0
jne 0x180009a6f
lea rdx, [0x18010cf38]
lea rcx, [rsp + 0x70]
call fcn.1800077d0
nop
lea rdx, [0x18010cf38]
lea rcx, [rsp + 0x78]
call fcn.1800077d0
nop
mov dword [rsp + 0x58], 1
mov dword [rsp + 0xc8], 0x800
mov dword [rsp + 0x54], 0x1000
mov edx, 0x800
lea rcx, [rsp + 0x70]
call fcn.180002b10
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x60], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.18000bbd0
cmp dword [rsp + 0x60], 0
jne 0x180009a5a
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x31d0]
call fcn.18000e190
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x1800098b0
lea rcx, [rsp + 0xb8]
call fcn.1800081e0
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x31d0]
call fcn.18000e500
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.180008150
movzx eax, al
test eax, eax
je 0x18000997d
lea rcx, [rsp + 0xb8]
call fcn.1800081a0
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0xd0]
call fcn.18000a350
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.180008190
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800087f0
test eax, eax
jne 0x18000994a
mov dword [rsp + 0x68], 1
jmp 0x180009952
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x49], al
lea rcx, [rsp + 0xe8]
call fcn.180001b80
movzx eax, byte [rsp + 0x49]
test eax, eax
je 0x180009978
mov byte [rsp + 0x40], 1
jmp 0x18000997d
jmp 0x1800098a3
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x180009a5a
mov dword [rsp + 0x54], 0x1000
mov edx, 0x800
lea rcx, [rsp + 0x78]
call fcn.180002b10
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.DisplayVersion
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x60], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x78]
call fcn.18000bbd0
lea rcx, [rsp + 0x78]
call fcn.180008190
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x70]
call fcn.180008190
lea r9, [0x18010cf28]
mov rcx, qword [rsp + 0xf0]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180007b30
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x31d0]
call fcn.18000e860
nop
lea rcx, [rsp + 0x120]
call fcn.180007cf0
nop
lea rcx, [rsp + 0x78]
call fcn.180001b80
nop
lea rcx, [rsp + 0x70]
call fcn.180001b80
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x4c], 0x800
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0xa8], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x11b0]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x88]
call fcn.180001b80
jmp 0x18000963e
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x4a], 1
lea rcx, [rsp + 0x98]
call fcn.180001b80
movzx eax, byte [rsp + 0x4a]
mov rcx, qword [rsp + 0x31b0]
xor rcx, rsp
call fcn.1800f1430
add rsp, 0x31c0
pop rdi
ret