Function at 0x14009dfd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov rdx, r8
lea rcx, [rbp - 0x79]
call fcn.14009d150
nop
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.14009ceb0
nop
xor r12d, r12d
mov qword [rbp - 0x41], r12
lea rcx, [rbp - 0x71]
call fcn.140012e50
mov rdx, rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009e4a3
mov r13, qword [rbp - 0x41]
test r13, r13
je 0x14009e4a3
lea rcx, [rbp - 0x79]
call fcn.140012e50
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14009e0ae
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x71]
lock dec dword [rcx]
jne 0x14009e0a9
mov rcx, qword [rbp - 0x71]
call fcn.140012a00
nop
jmp 0x14009e4b6
xor r8d, r8d
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000cb80
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x30]
cmp ecx, 1
jne 0x14009e0db
lea rcx, [rax + 0x18]
cmp qword [rax + 0x10], rcx
je 0x14009e0ed
mov edx, dword [rax + 8]
lea rcx, [rsp + 0x30]
call fcn.14000cc90
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 0x10]
lea rcx, [rbp - 0x79]
call fcn.140012e50
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14009e156
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x30]
lock dec dword [rcx]
jne 0x14009e13e
mov rcx, qword [rsp + 0x30]
call fcn.14000c4e0
nop
mov rax, qword [rbp - 0x71]
lock dec dword [rax]
jne 0x14009e151
mov rcx, qword [rbp - 0x71]
call fcn.140012a00
nop
jmp 0x14009e4b6
or ebx, 0xffffffff
mov edx, dword [rbp - 0x49]
cmp edx, 0xb
ja case.0x14009e177.6
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0x9e4e8]
add rcx, r8
jmp rcx
lea rax, [0x1415d9378]
mov qword [rbp - 0x61], rax
lock inc dword [0x1415d9378]
cmp dword [rsp + 0x38], 0
je 0x14009e1c7
mov rax, qword [rsp + 0x30]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x31]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.140012be0
nop
mov rax, qword [rbp - 0x31]
lock dec dword [rax]
jne 0x14009e1c7
mov rcx, qword [rbp - 0x31]
call fcn.140012a00
test rsi, rsi
je 0x14009e1f0
lea rdx, [rbp - 0x61]
lea rcx, [rbp + 7]
call fcn.140088730
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400767a0
nop
lea rcx, [rbp + 7]
call fcn.140075950
nop
mov rax, qword [rbp - 0x61]
lock dec dword [rax]
jne 0x14009e45b
mov rcx, qword [rbp - 0x61]
call fcn.140012a00
jmp 0x14009e45b
lea rax, [0x1415d9430]
mov qword [rbp - 0x59], rax
lock inc dword [0x1415d9430]
cmp dword [rsp + 0x38], 0
je 0x14009e2aa
mov rax, qword [rsp + 0x30]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x69]
call fcn.140016c40
nop
mov rax, qword [rbp - 0x69]
mov ecx, dword [rax + 8]
lea edi, [rcx + 1]
test ecx, ecx
je 0x14009e29c
nop dword [rax]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.140008810
nop
mov rax, qword [rbp - 0x69]
lock dec dword [rax]
jne 0x14009e270
mov rcx, qword [rbp - 0x69]
call fcn.140012a00
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
movsxd rax, edi
lea rdx, [rcx + rax*2]
mov r8d, ebx
lea rcx, [rbp - 0x69]
call fcn.140016c40
nop
mov rax, qword [rbp - 0x69]
mov ecx, dword [rax + 8]
lea edi, [rdi + rcx + 1]
test ecx, ecx
jne 0x14009e250
lock dec dword [rax]
jne 0x14009e2aa
mov rcx, qword [rbp - 0x69]
call fcn.140012a00
test rsi, rsi
je 0x14009e2d3
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x17]
call fcn.140089080
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400767a0
nop
lea rcx, [rbp + 0x17]
call fcn.140075950
nop
mov rax, qword [rbp - 0x59]
test rax, rax
je 0x14009e45b
lock dec dword [rax]
jne 0x14009e45b
mov rsi, qword [rbp - 0x59]
movsxd rax, dword [rsi + 0xc]
lea rdi, [rsi + rax*8 + 0x18]
movsxd rax, dword [rsi + 8]
lea r12, [rsi + rax*8 + 0x18]
cmp r12, rdi
je 0x14009e31d
sub rdi, 8
mov rcx, qword [rdi]
lock dec dword [rcx]
jne 0x14009e318
mov rcx, qword [rdi]
call fcn.140012a00
cmp rdi, r12
jne 0x14009e304
mov eax, dword [rsi]
test eax, eax
jne 0x14009e45b
mov rcx, rsi
call fcn.14000c4e0
jmp 0x14009e45b
lea rax, [0x1415d9378]
mov qword [rbp - 0x51], rax
lock inc dword [0x1415d9378]
cmp dword [rsp + 0x38], 0
je 0x14009e38a
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + 8]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp - 0x39]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140012be0
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x14009e38a
mov rcx, qword [rbp - 0x39]
call fcn.140012a00
test rsi, rsi
je 0x14009e3b3
lea rdx, [rbp - 0x51]
lea rcx, [rbp + 0x2f]
call fcn.140088730
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400767a0
nop
lea rcx, [rbp + 0x2f]
call fcn.140075950
nop
mov rax, qword [rbp - 0x51]
lock dec dword [rax]
jne 0x14009e45b
mov rcx, qword [rbp - 0x51]
call fcn.140012a00
jmp 0x14009e45b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test rsi, rsi
je 0x14009e45b
mov edx, dword [rcx]
lea rcx, [rbp - 0x19]
call fcn.140076770
nop
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.1400767a0
nop
lea rcx, [rbp - 0x19]
jmp 0x14009e456
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test rsi, rsi
je 0x14009e45b
mov rdx, qword [rcx]
lea rcx, [rbp - 9]
call fcn.140076790
nop
lea rdx, [rbp - 9]
mov rcx, rsi
call fcn.1400767a0
nop
lea rcx, [rbp - 9]
jmp 0x14009e456
lea rcx, [0x1415a6ba8]
call fcn.14001b2c0
test rsi, rsi
je 0x14009e45b
mov dword [rbp - 0x21], 0x80000000
mov qword [rbp - 0x29], r12
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.1400767a0
nop
lea rcx, [rbp - 0x29]
call fcn.140075950
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x14009e47a
mov rcx, qword [rsp + 0x30]
call fcn.14000c4e0
nop
mov rax, qword [rbp - 0x71]
lock dec dword [rax]
jne 0x14009e48d
mov rcx, qword [rbp - 0x71]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x79]
lock dec dword [rax]
jne 0x14009e49f
mov rcx, qword [rbp - 0x79]
call fcn.140012a00
mov al, 1
jmp 0x14009e4ca
mov rcx, qword [rbp - 0x71]
lock dec dword [rcx]
jne 0x14009e4b6
mov rcx, qword [rbp - 0x71]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x79]
lock dec dword [rax]
jne 0x14009e4c8
mov rcx, qword [rbp - 0x79]
call fcn.140012a00
xor al, al
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret