Function at 0x180007fe0
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, 0x31b0
call fcn.1800edfb0
sub rsp, rax
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x31a0], rax
xor eax, eax
mov word [rsp + 0x21a0], ax
lea rax, [rsp + 0x21a2]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
mov qword [rsp + 0xb0], 0xffffffff80000002
movzx eax, byte [rsp + 0x31d0]
test eax, eax
je 0x18000806e
mov qword [rsp + 0xb0], 0xffffffff80000003
mov edx, 0x800
lea rcx, [rsp + 0x21a0]
call fcn.180008d00
mov eax, 2
imul rax, rax, 0x26
mov ecx, 0x69
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, 0x74
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x5c
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x21
mov ecx, 0x74
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x32
mov ecx, 0x6c
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x73
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, 0x6e
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x4f
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2d
mov ecx, 0x6e
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, 0x73
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, 0x64
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x63
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x46
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2a
mov ecx, 0x55
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, 0x6f
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x41
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2e
mov ecx, 0x73
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x57
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x25
mov ecx, 0x73
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x69
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2f
mov ecx, 0x74
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x53
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, 0x57
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, 0x69
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, 0x5c
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, 0x6f
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x33
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x68
jae 0x1800082c8
jmp 0x1800082cd
call fcn.1800ede08
xor eax, eax
mov rcx, qword [rsp + 0xc0]
mov word [rsp + rcx + 0x130], ax
mov eax, 2
imul rax, rax, 0x1f
mov ecx, 0x65
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, 0x43
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x4d
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, 0x6f
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x72
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, 0x6e
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x54
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x20
mov ecx, 0x6e
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, 0x77
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x31
mov ecx, 0x6c
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x22
mov ecx, 0x56
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x72
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x23
mov ecx, 0x65
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x5c
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x45
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, 0x72
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x24
mov ecx, 0x72
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2c
mov ecx, 0x69
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x30
mov ecx, 0x61
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x52
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, 0x75
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, 0x6f
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x66
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2b
mov ecx, 0x6e
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x29
mov ecx, 0x5c
mov word [rsp + rax + 0x130], cx
xor eax, eax
mov word [rsp + 0x11a0], ax
lea rax, [rsp + 0x11a2]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x1a0], ax
lea rax, [rsp + 0x1a2]
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 + 0x31c8]
test eax, eax
je 0x18000856f
jmp 0x180008577
mov dword [rsp + 0x5c], 0x20219
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x98]
call fcn.180001860
nop
movzx eax, byte [rsp + 0x31d0]
test eax, eax
je 0x1800085bd
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x21a0]
lea rdx, [0x180108e28]
lea rcx, [rsp + 0x98]
call fcn.180007da0
lea rcx, [rsp + 0x98]
call fcn.1800044a0
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 0x180008617
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x98]
call fcn.180001bd0
movzx eax, byte [rsp + 0x48]
jmp 0x180008b54
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 + 0x11a0]
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 0x180008b2f
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x11a0]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x88]
call fcn.180001860
nop
movzx eax, byte [rsp + 0x31d0]
test eax, eax
je 0x18000870f
lea r9, [rsp + 0x1a0]
lea r8, [rsp + 0x21a0]
lea rdx, [0x180108e28]
lea rcx, [rsp + 0x88]
call fcn.180007da0
lea rcx, [rsp + 0x88]
call fcn.1800044a0
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 0x1800087cc
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 + 0x11a0]
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.180001bd0
jmp 0x18000867e
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 0x180008aa8
lea rdx, [0x180108df0]
lea rcx, [rsp + 0x70]
call fcn.1800071c0
nop
lea rdx, [0x180108df0]
lea rcx, [rsp + 0x78]
call fcn.1800071c0
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.180002bb0
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.180009a80
cmp dword [rsp + 0x60], 0
jne 0x180008a93
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x31c0]
call fcn.18000b400
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x1800088f0
lea rcx, [rsp + 0xb8]
call fcn.180007a10
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x31c0]
call fcn.18000b770
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.180007990
movzx eax, al
test eax, eax
je 0x1800089bd
lea rcx, [rsp + 0xb8]
call fcn.1800079d0
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0xd0]
call fcn.180009220
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1800044a0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180007c60
test eax, eax
jne 0x18000898a
mov dword [rsp + 0x68], 1
jmp 0x180008992
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x49], al
lea rcx, [rsp + 0xe8]
call fcn.180001bd0
movzx eax, byte [rsp + 0x49]
test eax, eax
je 0x1800089b8
mov byte [rsp + 0x40], 1
jmp 0x1800089bd
jmp 0x1800088e3
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x180008a93
mov dword [rsp + 0x54], 0x1000
mov edx, 0x800
lea rcx, [rsp + 0x78]
call fcn.180002bb0
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.180009a80
lea rcx, [rsp + 0x78]
call fcn.1800044a0
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x70]
call fcn.1800044a0
mov rcx, qword [rsp + 0xf0]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180007550
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x31c0]
call fcn.18000baf0
nop
lea rcx, [rsp + 0x120]
call fcn.1800076f0
nop
lea rcx, [rsp + 0x78]
call fcn.180001bd0
nop
lea rcx, [rsp + 0x70]
call fcn.180001bd0
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 + 0x11a0]
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.180001bd0
jmp 0x18000867e
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x4a], 1
lea rcx, [rsp + 0x98]
call fcn.180001bd0
movzx eax, byte [rsp + 0x4a]
mov rcx, qword [rsp + 0x31a0]
xor rcx, rsp
call fcn.1800edcb0
add rsp, 0x31b0
pop rdi
ret