Function at 0x140009300
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 [0x1400f3010]
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 0x140009731
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 0x140009727
cmp dword [rbp + 0x27], 1
jne 0x140009727
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 0x1400093ba
mov qword [rbp + 0x17], rdx
mov word [rbp + rdx*2 + 7], bx
jmp 0x1400093e4
cmp rdx, 7
ja 0x1400093d8
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 0x1400093e4
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.140039600
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 0x1400096e4
mov ecx, dword [rbp - 1]
sub rcx, 2
shr rcx, 1
mov r8, qword [rbp + 0x17]
cmp rcx, r8
ja 0x14000944b
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 0x14000949a
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp + 0x1f]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14000948e
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 0x140009483
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], bx
jmp 0x14000949a
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.140039600
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x2f]
call fcn.140035f60
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 0x1400094f8
mov rax, r10
mov rcx, r8
mov rdx, rbx
cmp word [r8], 0x7b
je 0x1400094e8
cmp rax, 1
je 0x1400094eb
dec rax
add rcx, 2
cmp word [rcx], 0x7b
jne 0x1400094d5
mov rdx, rcx
test rdx, rdx
je 0x1400094f8
sub rdx, r8
sar rdx, 1
jmp 0x1400094ff
mov rdx, 0xffffffffffffffff
lea r9, [rbp + 0x2f]
cmp r11, 8
cmovae r9, rdi
test r10, r10
je 0x140009543
mov rax, r10
mov rcx, r9
mov r8, rbx
cmp word [r9], 0x7d
je 0x140009533
cmp rax, 1
je 0x140009536
dec rax
add rcx, 2
cmp word [rcx], 0x7d
jne 0x140009520
mov r8, rcx
test r8, r8
je 0x140009543
sub r8, r9
sar r8, 1
jmp 0x14000954a
mov r8, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x1400096a5
cmp r8, 0xffffffffffffffff
je 0x1400096a5
cmp r8, rdx
jbe 0x1400096a5
lea rcx, [rdx + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
cmp r10, rcx
jb 0x1400097c7
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.140038db0
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x1400095ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400095ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3fc
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.140007a80
mov rdi, rax
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14000964b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009646
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400096d4
call fcn.14006e3fc
mov qword [rbp + 0x3f], rbx
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], bx
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400097a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000979e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000979e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp r11, 8
jb 0x1400096e4
lea rdx, [r11*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400096db
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400096db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006e3fc
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140009727
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009722
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009722
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3fc
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, [0x1400d8af8]
lea rcx, [rbp + 7]
call fcn.140038db0
nop
lea rcx, [rbp + 7]
call fcn.140007a80
mov rdi, rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400097a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000979e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000979e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3fc
mov rax, rdi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14006e3a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400374d0
nop
int3