Function at 0x18000c8b0
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.180134280
sub rsp, rax
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov rax, qword [0x18040b070]
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 0x18000c93e
mov qword [rsp + 0xb0], 0xffffffff80000003
mov edx, 0x800
lea rcx, [rsp + 0x21a0]
call fcn.18000d5d0
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, reloc.WS2_32.dll_WSACleanup
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, reloc.WS2_32.dll_WSACleanup
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x32
mov ecx, WSAGetLastError
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, WSAGetLastError
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WLDAP32.dll_Ordinal_79
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x2d
mov ecx, WSAGetLastError
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, reloc.WS2_32.dll_WSAStartup
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, reloc.WS2_32.dll_WSAGetLastError
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, reloc.WS2_32.dll_WSAStartup
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, reloc.WS2_32.dll_WSAStartup
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, reloc.WS2_32.dll_WSACleanup
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, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x33
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x68
jae 0x18000cb98
jmp 0x18000cb9d
call fcn.1801340d8
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, Ordinal_79
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, WSACleanup
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, WSAGetLastError
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, WSAGetLastError
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, WSAGetLastError
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, WSACleanup
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, WSACleanup
mov word [rsp + rax + 0x130], cx
mov eax, 2
imul rax, rax, 0x24
mov ecx, WSACleanup
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, reloc.WS2_32.dll_WSAGetLastError
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, WSAGetLastError
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 0x18000ce3f
jmp 0x18000ce47
mov dword [rsp + 0x5c], 0x20219
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x98]
call fcn.180001890
nop
movzx eax, byte [rsp + 0x31d0]
test eax, eax
je 0x18000ce8d
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x21a0]
lea rdx, [0x18015b5c0]
lea rcx, [rsp + 0x98]
call fcn.18000c670
lea rcx, [rsp + 0x98]
call fcn.18000eea0
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 0x18000cee7
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x98]
call fcn.180001b90
movzx eax, byte [rsp + 0x48]
jmp 0x18000d424
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 0x18000d3ff
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.180001890
nop
movzx eax, byte [rsp + 0x31d0]
test eax, eax
je 0x18000cfdf
lea r9, [rsp + 0x1a0]
lea r8, [rsp + 0x21a0]
lea rdx, [0x18015b5c0]
lea rcx, [rsp + 0x88]
call fcn.18000c670
lea rcx, [rsp + 0x88]
call fcn.18000eea0
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 0x18000d09c
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.180001b90
jmp 0x18000cf4e
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 0x18000d378
lea rdx, [0x18015adea]
lea rcx, [rsp + 0x70]
call fcn.18000bcd0
nop
lea rdx, [0x18015adea]
lea rcx, [rsp + 0x78]
call fcn.18000bcd0
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.180002b70
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.18000e350
cmp dword [rsp + 0x60], 0
jne 0x18000d363
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x31c0]
call fcn.18000efd0
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x18000d1c0
lea rcx, [rsp + 0xb8]
call fcn.18000c350
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x31c0]
call fcn.18000f1e0
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.18000c2f0
movzx eax, al
test eax, eax
je 0x18000d28d
lea rcx, [rsp + 0xb8]
call fcn.18000c330
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0xd0]
call fcn.18000daf0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.18000eea0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.18000c530
test eax, eax
jne 0x18000d25a
mov dword [rsp + 0x68], 1
jmp 0x18000d262
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x49], al
lea rcx, [rsp + 0xe8]
call fcn.180001b90
movzx eax, byte [rsp + 0x49]
test eax, eax
je 0x18000d288
mov byte [rsp + 0x40], 1
jmp 0x18000d28d
jmp 0x18000d1b3
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x18000d363
mov dword [rsp + 0x54], 0x1000
mov edx, 0x800
lea rcx, [rsp + 0x78]
call fcn.180002b70
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.18000e350
lea rcx, [rsp + 0x78]
call fcn.18000eea0
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x70]
call fcn.18000eea0
mov rcx, qword [rsp + 0xf0]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000bf20
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.18000f2c0
nop
lea rcx, [rsp + 0x120]
call fcn.18000c170
nop
lea rcx, [rsp + 0x78]
call fcn.180001b90
nop
lea rcx, [rsp + 0x70]
call fcn.180001b90
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.180001b90
jmp 0x18000cf4e
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x4a], 1
lea rcx, [rsp + 0x98]
call fcn.180001b90
movzx eax, byte [rsp + 0x4a]
mov rcx, qword [rsp + 0x31a0]
xor rcx, rsp
call fcn.180133f80
add rsp, 0x31b0
pop rdi
ret