Function at 0x140045db0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x58]
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 0x140046182
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.14008a450
mov dword [rsp + 0x60], 0x208
mov dword [rsp + 0x64], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140046177
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140004c64
nop
lea r9, [rsp + 0x68]
mov r8, qword [rsp + 0x68]
mov r10, qword [rbp - 0x80]
cmp r10, 8
cmovae r9, r8
lea r12, [r15 - 1]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140045ef5
mov rcx, rax
mov rdx, r9
mov ebx, r15d
cmp word [r9], 0x2e
je 0x140045ee5
cmp rcx, 1
je 0x140045ee8
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x140045ed2
mov rbx, rdx
test rbx, rbx
je 0x140045ef5
sub rbx, r9
sar rbx, 1
jmp 0x140045ef8
mov rbx, r12
lea r14, [rbx + 1]
lea rdx, [rsp + 0x68]
cmp r10, 8
cmovae rdx, r8
cmp r14, rax
jae 0x140045f43
sub rax, r14
lea rcx, [rdx + r14*2]
mov rdi, r15
je 0x140045f36
cmp word [rcx], 0x2e
je 0x140045f33
cmp rax, 1
je 0x140045f36
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140045f20
mov rdi, rcx
test rdi, rdi
je 0x140045f43
sub rdi, rdx
sar rdi, 1
jmp 0x140045f46
mov rdi, r12
cmp rdi, rbx
jbe 0x140046140
cmp rbx, r12
je 0x140046140
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rax, qword [rsp + 0x78]
cmp rax, r14
jb 0x1400461ba
sub rdi, rbx
lea rsi, [rdi - 1]
sub rax, r14
cmp rax, rsi
cmovb rsi, rax
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
lea r14, [rax + r14*2]
mov r13d, 0xa
cmp rsi, 7
ja 0x140045fda
mov qword [rsp + 0x40], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14008a040
mov word [rsp + rbx + 0x30], r15w
mov rdi, qword [rsp + 0x30]
jmp 0x14004608a
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x1400461c0
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x140046003
mov rbx, rax
cmp rax, r13
cmovb rbx, r13
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x14004601f
mov rdx, r12
jmp 0x140046028
cmp rdx, 0x1000
jb 0x14004604f
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r12
call fcn.14006bb2c
test rax, rax
je 0x1400461c6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140046064
test rdx, rdx
je 0x140046061
mov rcx, rdx
call fcn.14006bb2c
mov rdi, rax
jmp 0x140046064
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.14008a040
mov word [rbx + rdi], r15w
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, rdi
mov r8d, r13d
xor edx, edx
call fcn.1400961f0
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400460e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400460e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400461c6
call fcn.14006bb24
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14004613c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046137
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400461cc
call fcn.14006bb24
mov eax, ebx
jmp 0x140046184
cmp r10, 8
jb 0x140046177
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14004616f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400461b4
mov rcx, r8
call fcn.14006bb24
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14006bb00
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140095014
nop
call fcn.140007ae0
nop
call fcn.14000951c
int3
call fcn.140095014
nop
call fcn.140095014
int3