Function at 0x588d90
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], r8
nop
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rax, qword [rax + 8]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0xe8]
call fcn.005869a0
nop
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rdx, [rbp + 0x8c]
call fcn.00587350
test al, al
je 0x58909c
lea rcx, [rbp + 0x80]
xor rdx, rdx
mov r8d, dword [rbp + 0x90]
add r8d, 1
call fcn.0040e9a0
xor rax, rax
mov ecx, dword [rbp + 0x8c]
sub ecx, 1
mov dword [rbp + 0x4c], ecx
mov dword [rbp + 0xa8], eax
mov eax, dword [rbp + 0x4c]
cmp dword [rbp + 0xa8], eax
jg 0x58909b
mov eax, dword [rbp + 0x4c]
add eax, 1
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x90]
add eax, 1
mov dword [rbp + 0xac], eax
mov rcx, qword [rbp + 0x80]
call fcn.0040fa70
mov rcx, qword [rbp + 0xe8]
mov edx, dword [rbp + 0xa8]
mov r8, rax
lea r9, [rbp + 0xac]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xe0]
lea rcx, [rcx + rbp + 0x50]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov edx, eax
call fcn.005868c0
test al, al
je 0x589085
mov rcx, qword [rbp + 0x80]
call fcn.0040fa70
lea rcx, [rbp + 0x60]
mov rdx, rax
call fcn.0040fb10
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0x60]
call fcn.00588260
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x589085
nop
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rax, qword [rax + 8]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0xf0]
call fcn.005869a0
nop
mov rcx, qword [rbp + 0x80]
call fcn.0040fa70
lea rcx, [rbp + 0x58]
mov rdx, rax
call fcn.0040fb10
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0x58]
call fcn.005869b0
mov rcx, qword [rbp + 0x80]
call fcn.0040fa70
lea rcx, [rbp + 0x50]
mov rdx, rax
call fcn.0040fb10
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0x50]
call fcn.00588260
mov qword [rbp + 0xc8], rax
nop
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
call fcn.00588b10
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
call fcn.00588d90
nop
mov rcx, qword [rbp + 0xc8]
call sub.advapi32.dll_RegCloseKey_1
nop
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0xc0]
call fcn.005869a0
nop
mov rcx, qword [rbp + 0xb8]
call sub.advapi32.dll_RegCloseKey_1
add dword [rbp + 0xa8], 1
mov eax, dword [rbp + 0x4c]
cmp dword [rbp + 0xa8], eax
jne 0x588e8d
nop
nop
mov rax, qword [rbp + 0xe0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0xb0]
call fcn.005869a0
nop
lea rcx, [rbp + 0x50]
mov edx, 3
call fcn.0040e7c0
lea rcx, [rbp + 0x80]
call fcn.0040e6e0
lea rsp, [rbp + 0xd0]
pop rbp
ret