Function at 0x140045780
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r15d, r15d
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140045b62
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140089280
mov dword [rsp + 0x58], 0x208
mov dword [rsp + 0x5c], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, [0x1400d95c0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140045b57
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140006890
nop
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 8
cmovae r9, r8
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400458bb
mov rcx, rax
mov rdx, r9
mov ebx, r15d
cmp word [r9], 0x2e
je 0x1400458ab
cmp rcx, 1
je 0x1400458ae
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x140045898
mov rbx, rdx
test rbx, rbx
je 0x1400458bb
sub rbx, r9
sar rbx, 1
jmp 0x1400458c2
mov rbx, 0xffffffffffffffff
lea r14, [rbx + 1]
lea rdx, [rsp + 0x60]
cmp r10, 8
cmovae rdx, r8
cmp r14, rax
jae 0x140045913
sub rax, r14
lea rcx, [rdx + r14*2]
mov rdi, r15
je 0x140045906
cmp word [rcx], 0x2e
je 0x140045903
nop word [rax + rax]
cmp rax, 1
je 0x140045906
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x1400458f0
mov rdi, rcx
test rdi, rdi
je 0x140045913
sub rdi, rdx
sar rdi, 1
jmp 0x14004591a
mov rdi, 0xffffffffffffffff
cmp rdi, rbx
jbe 0x140045b20
cmp rbx, 0xffffffffffffffff
je 0x140045b20
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rax, qword [rsp + 0x70]
cmp rax, r14
jb 0x140045b9a
sub rdi, rbx
lea rsi, [rdi - 1]
sub rax, r14
cmp rax, rsi
cmovb rsi, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
lea r14, [rax + r14*2]
mov r12d, 0xa
cmp rsi, 7
ja 0x1400459b0
mov qword [rsp + 0x40], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140088e50
mov word [rsp + rbx + 0x30], r15w
mov rdi, qword [rsp + 0x30]
jmp 0x140045a69
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x140045ba0
mov rax, rsi
or rax, 7
cmp rax, rbx
jbe 0x1400459d8
mov rcx, 0xfffffffffffffffe
jmp 0x140045a05
mov rbx, rax
cmp rax, r12
cmovb rbx, r12
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140045bb2
add rcx, rcx
cmp rcx, 0x1000
jb 0x140045a31
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140045bb2
mov rcx, rax
call fcn.14006a75c
test rax, rax
je 0x140045ba6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140045a43
test rcx, rcx
je 0x140045a40
call fcn.14006a75c
mov rdi, rax
jmp 0x140045a43
mov rdi, r15
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.140088e50
mov word [rbx + rdi], r15w
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, rdi
mov r8d, r12d
xor edx, edx
call fcn.140098fec
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140045ac6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045ac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045ba6
call fcn.14006a754
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140045b1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045b17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045bac
call fcn.14006a754
mov eax, ebx
jmp 0x140045b64
cmp r10, 8
jb 0x140045b57
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140045b4f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045b94
mov rcx, r8
call fcn.14006a754
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140097d64
nop
call fcn.140007c3c
nop
call fcn.140001300
int3
call fcn.140097d64
nop
call fcn.140097d64
nop
call fcn.1400011a0
int3