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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x5f8
mov rax, qword [0x180026250]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x48], 0
lea rcx, [0x1800258b0]
call fcn.180007d50
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004d50
mov ecx, 0x40000
call fcn.180006950
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180004d42
lea rdx, [0x180026c0b]
mov rcx, qword [rsp + 0x48]
call fcn.18000d1c0
lea rcx, [0x180025920]
call fcn.180007d50
mov qword [rsp + 0x90], rax
lea rcx, [0x180025940]
call fcn.180007d50
mov qword [rsp + 0x88], rax
lea rcx, [0x180025968]
call fcn.180007d50
mov qword [rsp + 0x80], rax
lea rcx, [0x180025988]
call fcn.180007c50
mov qword [rsp + 0x60], rax
lea rcx, [0x180025998]
call fcn.180007c50
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x58], 0
jmp 0x1800049de
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x78], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x3d0]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180004cf1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [rsp + 0x3d0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004cec
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180004ce1
mov eax, dword [rsp + 0x40]
mov byte [rsp + rax + 0x1c0], 0
mov eax, dword [rsp + 0x40]
mov byte [rsp + rax + 0x1c1], 0
lea rcx, [rsp + 0x1c0]
call fcn.180006890
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180004b31
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
test eax, eax
je 0x180004af6
cmp dword [rsp + 0x58], 0
je 0x180004af6
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x50]
call fcn.18000d290
mov r8d, eax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.1800011e0
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x50]
call fcn.180006980
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180004beb
mov eax, dword [rsp + 0x40]
mov byte [rsp + rax + 0x1c0], 0
mov eax, dword [rsp + 0x40]
mov byte [rsp + rax + 0x1c1], 0
lea rcx, [rsp + 0x1c0]
call fcn.180006890
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180004be9
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x50]
call fcn.18000d290
mov r8d, eax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.1800011e0
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x50]
call fcn.180006980
jmp 0x180004c09
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180004cc3
mov eax, dword [rsp + 0x40]
mov byte [rsp + rax + 0x1c0], 0
mov eax, dword [rsp + 0x40]
mov byte [rsp + rax + 0x1c1], 0
lea rcx, [rsp + 0x1c0]
call fcn.180006890
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180004cc1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x50]
call fcn.18000d290
mov r8d, eax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.1800011e0
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x50]
call fcn.180006980
jmp 0x180004ce1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.18000d120
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800049d4
mov rcx, qword [rsp + 0x48]
call fcn.18000d290
inc eax
mov rcx, qword [rsp + 0x600]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x70]
call fcn.180007e50
mov rcx, qword [rsp + 0x60]
call fcn.180007e50
mov rcx, qword [rsp + 0x80]
call fcn.180007e50
mov rcx, qword [rsp + 0x88]
call fcn.180007e50
mov rcx, qword [rsp + 0x90]
call fcn.180007e50
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xa0]
call fcn.180007e50
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x5e0]
xor rcx, rsp
call fcn.180009540
add rsp, 0x5f8
ret