Function at 0x140076780
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], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140104200]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov qword [rbp - 0x30], rbx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClassespowertoys_
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140076a1e
mov qword [rbp - 0x38], rbx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClassespowertoys_
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140076a1e
mov dword [rbp - 0x3c], ebx
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
lea r8, str.InstallScope
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x140076853
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140076a1e
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
mov edx, dword [rbp - 0x3c]
shr rdx, 1
jne 0x14007687d
mov qword [rbp - 0x18], rdx
mov word [rbp + rdx*2 - 0x28], bx
jmp 0x1400768b1
cmp rdx, 7
ja 0x14007689b
mov qword [rbp - 0x18], rdx
movzx eax, bx
lea rdi, [rbp - 0x28]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + rdx*2 - 0x28], bx
jmp 0x1400768b1
mov word [rsp + 0x20], bx
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140008770
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
lea rcx, [rbp - 0x3c]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 2
lea r8, str.InstallScope
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov rcx, qword [rbp - 0x38]
test eax, eax
je 0x140076906
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r10, qword [rbp - 0x10]
mov r9, qword [rbp - 0x28]
jmp 0x1400769a3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea r11, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
cmp r10, 8
cmovae r11, r9
mov rax, qword [rbp - 0x18]
cmp rax, 7
jb 0x1400769e7
add rax, 0xfffffffffffffffa
lea rsi, [r11 + rax*2]
mov rax, r11
lea r14, str.perUser
mov rcx, rsi
sub rcx, rax
sar rcx, 1
mov rdx, rbx
je 0x14007696a
cmp word [rax], 0x70
je 0x140076967
cmp rcx, 1
je 0x14007696a
dec rcx
add rax, 2
cmp word [rax], 0x70
jne 0x140076954
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400769e7
mov edi, 7
mov rdx, r14
mov r8, rax
sub r8, r14
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x1400769de
add rdx, 2
sub rdi, 1
jne 0x140076980
sub rax, r11
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1400769e7
lea ebx, [rdi + 1]
cmp r10, 8
jb 0x1400769da
lea rdx, [r10*2 + 2]
mov rcx, r9
cmp rdx, 0x1000
jb 0x1400769d2
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rcx, r9
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140076a49
mov rcx, r9
call fcn.1400816f4
mov eax, ebx
jmp 0x140076a20
add rax, 2
jmp 0x140076940
cmp r10, 8
jb 0x140076a1e
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140076a16
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076a49
mov rcx, r9
call fcn.1400816f4
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140081690
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140088774
int3