Function at 0x1400fe000
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb8
mov rax, qword [0x140488480]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x61], rcx
mov rdi, qword [rbp + 0x7f]
xor r15d, r15d
mov qword [rbp - 0x61], r15
mov rdx, r8
lea rcx, [rbp - 0x11]
call fcn.1400f5110
cmp qword [rax + 0x18], 8
jb 0x1400fe051
mov rax, qword [rax]
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400fe0b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe0af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fe0af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010464c
test esi, esi
je 0x1400fe0dd
mov rdx, rdi
mov rcx, rbx
call fcn.1400165f0
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400fe373
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400fe373
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.1400f5110
nop
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x55]
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400fe303
cmp dword [rbp - 0x55], 1
jne 0x1400fe303
xor r8d, r8d
mov edx, dword [rbp - 0x59]
shr rdx, 1
lea rcx, [rbp - 0x31]
call fcn.1400fd9f0
nop
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rax, qword [rbp - 0x31]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x55]
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbx
test eax, eax
je 0x1400fe246
mov rdx, rdi
call fcn.1400165f0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400fe1cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe1c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fe287
call fcn.14010464c
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400fe21c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe217
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fe346
call fcn.14010464c
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400fe373
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400fe373
lea rdx, [rbp - 0x31]
call fcn.1400f52f0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400fe293
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe28e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fe28e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010464c
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400fe2e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe2db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fe346
call fcn.14010464c
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400fe373
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400fe373
mov rdx, rdi
mov rcx, rbx
call fcn.1400165f0
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400fe352
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe34d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fe34d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010464c
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400fe373
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, rbx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140104760
add rsp, 0xb8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret