Function at 0x140011c30
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0x5a8]
sub rsp, 0x6a8
mov rax, qword [0x140082298]
mov r14, rdx
mov r15, rcx
mov rbx, 0xffffffffffffffff
test rax, rax
jne 0x140011e1d
cmp qword [0x140082298], rax
jne 0x140011e1d
xor edx, edx
mov qword [rsp + 0x6a0], r12
mov r8d, 0x208
lea rcx, [rbp + 0x390]
call fcn.1400452a0
lea rax, [rbp - 0x80]
mov dword [rbp + 0x5e8], 0x104
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x5e8]
lea rax, [rsp + 0x64]
xor r12d, r12d
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x390]
lea rax, [rsp + 0x68]
mov dword [rbp + 0x5e0], r12d
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x6c]
mov rcx, 0xffffffff80000003
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5e0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140011e15
mov eax, dword [rbp + 0x5e0]
mov qword [rsp + 0x6d0], rsi
mov qword [rsp + 0x6d8], rdi
test eax, eax
je 0x140011df8
mov esi, r12d
nop dword [rax + rax]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x60], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], r12
lea r8, [rbp - 0x70]
mov qword [rsp + 0x28], r12
mov edx, esi
mov rcx, 0xffffffff80000003
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140011dea
lea r8, [rbp - 0x70]
mov edx, 0xff
lea rcx, [rbp + 0x190]
call fcn.14004de9c
lea rcx, [0x140083aa0]
call fcn.14000c1c0
mov r8, rax
lea rcx, [rbp + 0x190]
mov edx, 0xff
mov rdi, rax
call fcn.14004de1c
mov rcx, rdi
call fcn.1400462d0
lea rax, [rbp - 0x78]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x190]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011ec4
inc esi
cmp esi, dword [rbp + 0x5e0]
jb 0x140011d40
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x6d8]
mov rsi, qword [rsp + 0x6d0]
mov r12, qword [rsp + 0x6a0]
mov rax, qword [0x140082298]
test r14, r14
je 0x140011f4d
test rax, rax
je 0x140011f20
test r15, r15
je 0x140011f20
cmp qword [r15], 0
jne 0x140011f20
mov rcx, qword [0x140082298]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140011e53
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140011e60
add rax, 2
mov edx, 2
add rbx, rax
mov rcx, rbx
call fcn.1400462ec
mov qword [r15], rax
mov rdx, rbx
mov r8, qword [0x140082298]
mov rcx, qword [r15]
call fcn.14004de9c
mov rcx, qword [r15]
lea r8, [0x140083ab8]
mov rdx, rbx
call fcn.14004de1c
mov rcx, qword [r15]
mov r8, r14
mov rdx, rbx
call fcn.14004de1c
mov al, 1
add rsp, 0x6a8
pop r15
pop r14
pop rbx
pop rbp
ret
lea rax, [rbp - 0x70]
mov rdi, rbx
nop dword [rax + rax]
cmp word [rax + rdi*2 + 2], r12w
lea rdi, [rdi + 1]
jne 0x140011ed0
mov edx, 2
lea rcx, [rdi + 1]
call fcn.1400462ec
lea r8, [rbp - 0x70]
mov qword [0x140082298], rax
lea rdx, [rdi + 1]
mov rcx, rax
call fcn.14004de9c
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
jmp 0x140011dff
cmp word [r14 + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140011f20
mov edx, 2
lea rcx, [rbx + 1]
call fcn.1400462ec
mov r8, r14
mov qword [r15], rax
lea rdx, [rbx + 1]
mov rcx, rax
call fcn.14004de9c
xor al, al
add rsp, 0x6a8
pop r15
pop r14
pop rbx
pop rbp
ret