Function at 0x140009420
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 [0x1400ee010]
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 0x140009851
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 0x140009847
cmp dword [rbp + 0x27], 1
jne 0x140009847
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 0x1400094da
mov qword [rbp + 0x17], rdx
mov word [rbp + rdx*2 + 7], bx
jmp 0x140009504
cmp rdx, 7
ja 0x1400094f8
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 0x140009504
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.1400348c0
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 0x140009804
mov ecx, dword [rbp - 1]
sub rcx, 2
shr rcx, 1
mov r8, qword [rbp + 0x17]
cmp rcx, r8
ja 0x14000956b
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 0x1400095ba
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp + 0x1f]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400095ae
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 0x1400095a3
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], bx
jmp 0x1400095ba
mov r9, rdx
lea rcx, [rbp + 7]
call fcn.1400348c0
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x2f]
call fcn.140031230
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 0x140009618
mov rax, r10
mov rcx, r8
mov rdx, rbx
cmp word [r8], 0x7b
je 0x140009608
cmp rax, 1
je 0x14000960b
dec rax
add rcx, 2
cmp word [rcx], 0x7b
jne 0x1400095f5
mov rdx, rcx
test rdx, rdx
je 0x140009618
sub rdx, r8
sar rdx, 1
jmp 0x14000961f
mov rdx, 0xffffffffffffffff
lea r9, [rbp + 0x2f]
cmp r11, 8
cmovae r9, rdi
test r10, r10
je 0x140009663
mov rax, r10
mov rcx, r9
mov r8, rbx
cmp word [r9], 0x7d
je 0x140009653
cmp rax, 1
je 0x140009656
dec rax
add rcx, 2
cmp word [rcx], 0x7d
jne 0x140009640
mov r8, rcx
test r8, r8
je 0x140009663
sub r8, r9
sar r8, 1
jmp 0x14000966a
mov r8, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x1400097c5
cmp r8, 0xffffffffffffffff
je 0x1400097c5
cmp r8, rdx
jbe 0x1400097c5
lea rcx, [rdx + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
cmp r10, rcx
jb 0x1400098e7
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.140034070
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14000970f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000970a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000970a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400696bc
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.140007ba0
mov rdi, rax
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14000976b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009766
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097f4
call fcn.1400696bc
mov qword [rbp + 0x3f], rbx
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], bx
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400098c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp r11, 8
jb 0x140009804
lea rdx, [r11*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400097fb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400097fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400696bc
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140009847
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009842
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009842
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400696bc
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, [0x1400d3b20]
lea rcx, [rbp + 7]
call fcn.140034070
nop
lea rcx, [rbp + 7]
call fcn.140007ba0
mov rdi, rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400098c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400696bc
mov rax, rdi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140069660
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400327a0
nop
int3