Function at 0x140069800
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x500], rbx
mov rax, qword [0x1400e44d0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
mov r12b, 1
call fcn.140069b80
mov esi, eax
cmp eax, 0xffffffff
jne 0x14006985c
lea esi, [rax + 3]
jmp 0x140069866
mov eax, 0x3e7
cmp esi, eax
cmovge esi, eax
xor r13d, r13d
mov qword [rsp + 0x30], r13
lea rdx, [rbx + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x14006987f
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r14, qword [rsp + 0x30]
test eax, eax
je 0x1400698c2
test r14, r14
je 0x140069a60
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, r13
mov qword [rsp + 0x30], r13
test r14, r14
je 0x140069a60
mov ebx, 1
cmp esi, ebx
jl 0x140069a56
nop dword [rax + rax]
mov byte [rsp + 0x78], 0
xor eax, eax
mov qword [rsp + 0x79], rax
mov qword [rbp - 0x7f], rax
mov qword [rbp - 0x77], rax
mov dword [rbp - 0x6f], eax
mov word [rbp - 0x6b], ax
mov byte [rbp - 0x69], al
mov r8d, ebx
lea rdx, [0x140096ad8]
lea rcx, [rsp + 0x78]
call fcn.140024f70
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x60]
call fcn.140037fb0
mov dword [rsp + 0x38], 0x3ff
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x140069a28
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp byte [rbp - 0x60], 0
jne 0x140069983
mov r8, r13
jmp 0x14006999a
lea rax, [rbp - 0x60]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140069990
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140006800
nop
mov dword [rsp + 0x40], ebx
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x140069a50
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
call qword [rax + 0x10]
test al, al
sete dil
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x140069a10
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x140069a0b
test cl, 0x1f
jne 0x140069a45
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140069a3f
sub rcx, rax
cmp rcx, 8
jb 0x140069a39
cmp rcx, 0x27
ja 0x140069a33
mov rcx, rax
call fcn.140035bd8
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
test dil, dil
jne 0x140069a4b
inc ebx
cmp ebx, esi
jg 0x140069a56
jmp 0x1400698e0
call fcn.14003a538
int3
call fcn.14003a538
int3
call fcn.14003a538
int3
call fcn.14003a538
int3
xor r12b, r12b
jmp 0x140069a56
call fcn.14003057c
nop
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x140069a7a
mov r8, qword [rcx]
cmp rcx, r15
setne dl
call qword [r8 + 0x20]
mov qword [r15 + 0x38], r13
movzx eax, r12b
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140035b70
mov rbx, qword [rsp + 0x500]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret