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

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov qword [rsp + 0x70], rcx
xor esi, esi
lea rcx, [0x18001e4e0]
call fcn.180006440
mov rbx, rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov rdx, rbx
mov r9d, 0x108
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000346e
mov ecx, 0x40000
call fcn.180005210
mov rsi, rax
test rax, rax
je 0x180003463
mov qword [rsp + 0x5f8], rdi
lea rcx, [0x18001e550]
mov qword [rsp + 0x600], r12
mov qword [rsp + 0x608], r13
mov qword [rsp + 0x5c8], r14
mov qword [rsp + 0x5c0], r15
mov byte [rax], 0
call fcn.180006440
lea rcx, [0x18001e570]
mov r13, rax
call fcn.180006440
lea rcx, [0x18001e5a0]
mov qword [rsp + 0x60], rax
call fcn.180006440
lea rcx, [0x18001e5c0]
mov qword [rsp + 0x58], rax
call fcn.1800062d0
lea rcx, [0x18001e5d0]
mov rdi, rax
call fcn.1800062d0
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x44]
xor ebx, ebx
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], rbx
lea r8, [rbp + 0x2a0]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r14, rax
mov qword [rsp + 0x20], rbx
mov r12d, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x18000336e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000332d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp + 0x90]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180003322
mov eax, dword [rsp + 0x40]
lea rcx, [rbp + 0x90]
mov word [rbp + rax + 0x90], 0
call fcn.1800025f0
mov rbx, rax
test rax, rax
je 0x1800030e8
cmp byte [rsi], 0
je 0x18000309f
test r12d, r12d
je 0x18000309f
lea rcx, [rsi - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180003080
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180003090
mov r8, r15
inc r8
cmp byte [rbx + r8], 0
jne 0x1800030a2
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800011e0
lea rcx, [rsi - 1]
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800030c0
lea r8, [rbp - 0x80]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800030d0
mov rcx, rbx
call fcn.180005280
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x90]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800031ba
mov eax, dword [rsp + 0x40]
lea rcx, [rbp + 0x90]
mov word [rbp + rax + 0x90], 0
call fcn.1800025f0
mov rbx, rax
test rax, rax
je 0x180003200
lea rcx, [rsi - 1]
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180003150
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180003160
mov r8, r15
inc r8
cmp byte [rbx + r8], 0
jne 0x180003172
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800011e0
lea rcx, [rsi - 1]
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180003190
lea r8, [rbp - 0x80]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800031a0
mov rcx, rbx
call fcn.180005280
jmp 0x180003200
lea rcx, [rsi - 1]
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800031c0
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800031d0
lea rcx, [rsi - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800031e3
xor edx, edx
nop
movzx eax, byte [r14 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800031f0
mov rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x90]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800032da
mov eax, dword [rsp + 0x40]
lea rcx, [rbp + 0x90]
mov word [rbp + rax + 0x90], 0
call fcn.1800025f0
mov rbx, rax
test rax, rax
je 0x180003320
lea rcx, [rsi - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180003266
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180003280
mov r8, r15
inc r8
cmp byte [rbx + r8], 0
jne 0x180003292
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800011e0
lea rcx, [rsi - 1]
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800032b0
lea r8, [rbp - 0x80]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800032c0
mov rcx, rbx
call fcn.180005280
jmp 0x180003320
lea rcx, [rsi - 1]
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800032e0
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800032f0
lea rax, [rsi - 1]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x180003303
xor edx, edx
nop
movzx ecx, byte [r14 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x180003310
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], rbx
lea r8, [rbp + 0x2a0]
mov qword [rsp + 0x30], rbx
inc r12d
mov qword [rsp + 0x28], rbx
mov edx, r12d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x44], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180002fe0
mov r12, qword [rsp + 0x600]
inc r15
cmp byte [rsi + r15], 0
jne 0x180003376
mov rax, qword [rsp + 0x70]
inc r15d
mov dword [rax], r15d
mov r15, qword [rsp + 0x5c0]
test r14, r14
je 0x1800033b4
mov r8d, dword [r14 - 8]
lea rcx, [r14 - 8]
add r8, 8
xor edx, edx
call fcn.180008090
lea rcx, [r14 - 8]
call fcn.180005280
mov r14, qword [rsp + 0x5c8]
test rdi, rdi
je 0x1800033dd
mov r8d, dword [rdi - 8]
lea rcx, [rdi - 8]
add r8, 8
xor edx, edx
call fcn.180008090
lea rcx, [rdi - 8]
call fcn.180005280
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x5f8]
test rax, rax
je 0x18000340d
mov r8d, dword [rax - 8]
lea rbx, [rax - 8]
add r8, 8
xor edx, edx
mov rcx, rbx
call fcn.180008090
mov rcx, rbx
call fcn.180005280
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x180003435
mov r8d, dword [rax - 8]
lea rbx, [rax - 8]
add r8, 8
xor edx, edx
mov rcx, rbx
call fcn.180008090
mov rcx, rbx
call fcn.180005280
test r13, r13
je 0x180003456
mov r8d, dword [r13 - 8]
lea rcx, [r13 - 8]
add r8, 8
xor edx, edx
call fcn.180008090
lea rcx, [r13 - 8]
call fcn.180005280
mov rbx, qword [rsp + 0x68]
mov r13, qword [rsp + 0x608]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x18000348f
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008090
lea rcx, [rbx - 8]
call fcn.180005280
mov rax, rsi
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.180006c40
add rsp, 0x5d0
pop rsi
pop rbx
pop rbp
ret