Function at 0x140013f80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14011d080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftSQMClient
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400143b1
mov dword [rbp - 1], ebx
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x27]
xor r8d, r8d
lea rdx, str.MachineId
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400143a7
cmp dword [rbp + 0x27], 1
jne 0x1400143a7
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], bx
mov edx, dword [rbp - 1]
shr rdx, 1
jne 0x14001403a
mov qword [rbp + 0x17], rdx
mov word [rbp + rdx*2 + 7], bx
jmp 0x140014064
cmp rdx, 7
ja 0x140014058
mov qword [rbp + 0x17], rdx
movzx eax, bx
lea rdi, [rbp + 7]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + rdx*2 + 7], bx
jmp 0x140014064
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.140046430
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x27]
xor r8d, r8d
lea rdx, str.MachineId
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014364
mov ecx, dword [rbp - 1]
sub rcx, 2
shr rcx, 1
mov r8, qword [rbp + 0x17]
cmp rcx, r8
ja 0x1400140cb
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
mov qword [rbp + 0x17], rcx
mov word [rax + rcx*2], bx
jmp 0x14001411a
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp + 0x1f]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14001410e
mov qword [rbp + 0x17], rcx
lea r9, [rbp + 7]
cmp rdi, 8
cmovae r9, qword [rbp + 7]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140014103
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], bx
jmp 0x14001411a
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.140046430
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x2f]
call fcn.140040ee0
nop
lea r8, [rbp + 0x2f]
mov rdi, qword [rbp + 0x2f]
mov r11, qword [rbp + 0x47]
cmp r11, 8
cmovae r8, rdi
mov r10, qword [rbp + 0x3f]
test r10, r10
je 0x140014178
mov rax, r10
mov rcx, r8
mov rdx, rbx
cmp word [r8], 0x7b
je 0x140014168
cmp rax, 1
je 0x14001416b
dec rax
add rcx, 2
cmp word [rcx], 0x7b
jne 0x140014155
mov rdx, rcx
test rdx, rdx
je 0x140014178
sub rdx, r8
sar rdx, 1
jmp 0x14001417f
mov rdx, 0xffffffffffffffff
lea r9, [rbp + 0x2f]
cmp r11, 8
cmovae r9, rdi
test r10, r10
je 0x1400141c3
mov rax, r10
mov rcx, r9
mov r8, rbx
cmp word [r9], 0x7d
je 0x1400141b3
cmp rax, 1
je 0x1400141b6
dec rax
add rcx, 2
cmp word [rcx], 0x7d
jne 0x1400141a0
mov r8, rcx
test r8, r8
je 0x1400141c3
sub r8, r9
sar r8, 1
jmp 0x1400141ca
mov r8, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x140014325
cmp r8, 0xffffffffffffffff
je 0x140014325
cmp r8, rdx
jbe 0x140014325
lea rcx, [rdx + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
cmp r10, rcx
jb 0x140014447
sub r8, rdx
dec r8
sub r10, rcx
cmp r10, r8
cmovb r8, r10
lea rax, [rbp + 0x2f]
cmp r11, 8
cmovae rax, rdi
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x29]
call fcn.14000eb40
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14001426f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001426a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001426a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e69f4
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbp + 0x3f], xmm1
lea rcx, [rbp + 0x2f]
call fcn.140012620
mov rdi, rax
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x1400142cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400142c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014354
call fcn.1400e69f4
mov qword [rbp + 0x3f], rbx
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], bx
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140014423
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001441e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001441e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp r11, 8
jb 0x140014364
lea rdx, [r11*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001435b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001435b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400e69f4
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400143a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400143a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400143a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e69f4
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
xor r8d, r8d
lea rdx, [0x1400fda58]
lea rcx, [rbp + 7]
call fcn.14000eb40
nop
lea rcx, [rbp + 7]
call fcn.140012620
mov rdi, rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140014423
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001441e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001441e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e69f4
mov rax, rdi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400e6990
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14000eb20
nop
int3