Function at 0x140045d50
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 [0x1400ee020]
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 0x140046129
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140089760
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, [0x1400d7ac0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004611e
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.1400068b8
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 0x140045e8b
mov rcx, rax
mov rdx, r9
mov ebx, r15d
cmp word [r9], 0x2e
je 0x140045e7b
cmp rcx, 1
je 0x140045e7e
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x140045e68
mov rbx, rdx
test rbx, rbx
je 0x140045e8b
sub rbx, r9
sar rbx, 1
jmp 0x140045e92
mov rbx, 0xffffffffffffffff
lea r14, [rbx + 1]
lea rdx, [rsp + 0x60]
cmp r10, 8
cmovae rdx, r8
cmp r14, rax
jae 0x140045ee3
sub rax, r14
lea rcx, [rdx + r14*2]
mov rdi, r15
je 0x140045ed6
cmp word [rcx], 0x2e
je 0x140045ed3
nop word [rax + rax]
cmp rax, 1
je 0x140045ed6
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140045ec0
mov rdi, rcx
test rdi, rdi
je 0x140045ee3
sub rdi, rdx
sar rdi, 1
jmp 0x140045eea
mov rdi, 0xffffffffffffffff
cmp rdi, rbx
jbe 0x1400460e7
cmp rbx, 0xffffffffffffffff
je 0x1400460e7
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 0x140046161
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 0x140045f80
mov qword [rsp + 0x40], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140089350
mov word [rsp + rbx + 0x30], r15w
mov rdi, qword [rsp + 0x30]
jmp 0x140046030
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x140046167
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x140045fa9
mov rbx, rax
cmp rax, r12
cmovb rbx, r12
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140046179
add rcx, rcx
cmp rcx, 0x1000
jb 0x140045ff8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140046179
mov rcx, rax
call fcn.14006a79c
test rax, rax
je 0x14004616d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004600a
test rcx, rcx
je 0x140046007
call fcn.14006a79c
mov rdi, rax
jmp 0x14004600a
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.140089350
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.140097000
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14004608d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004616d
call fcn.14006a794
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400460e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400460de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046173
call fcn.14006a794
mov eax, ebx
jmp 0x14004612b
cmp r10, 8
jb 0x14004611e
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140046116
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004615b
mov rcx, r8
call fcn.14006a794
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.14006a770
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.140095e24
nop
call fcn.140007ce4
nop
call fcn.1400094ac
int3
call fcn.140095e24
nop
call fcn.140095e24
nop
call fcn.1400011a0
int3