Function at 0x140068530
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
lea rax, [rbp + 0x77]
mov dword [rbp + 0x6f], 4
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [rbp + 0x67], ebx
xor r8d, r8d
lea rdx, str.SoftwareNumID
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140068585
mov edx, eax
lea rcx, str.Failed_to_open_registry_key:__ld_n
call fcn.140001840
jmp 0x1400685d9
mov rcx, qword [rbp + 0x77]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400bc2b0]
lea rax, [rbp + 0x67]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1400685cc
mov edx, eax
lea rcx, str.Failed_to_read_value_from_registry:__ld_n
call fcn.140001840
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400685d9
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rbp + 0x67]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
cmp ebx, 1
jne 0x14006868b
movabs rax, 0x8243cea3854c959
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x29], rax
movabs rdi, 0xc5b4d985529e2ffe
movabs rax, 0x58bfe9d743d323dc
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x21], rax
movabs rsi, 0x7b4d78be7119bd17
movups xmm0, xmmword [rbp - 0x29]
movabs rax, 0xdb231ffde4024941
mov qword [rbp + 7], rsi
mov qword [rbp - 0x19], rax
movabs r14, 0x35d0aabf20a742ac
movups xmm1, xmmword [rbp - 0x19]
movabs r15, 0xdb4d709490672531
mov qword [rbp + 0xf], r14
xorps xmm0, xmmword [rbp + 7]
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], rdi
xorps xmm1, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmmword [rbp - 0x29], xmm0
jmp 0x14006882d
cmp ebx, 2
jne 0x14006870c
movabs rcx, 0x152435ea3854c959
mov qword [rbp + 7], rcx
movabs rcx, 0x7ca4cfec52c231d9
mov qword [rbp + 0xf], rcx
movabs rcx, 0xb52c02c0e412555f
mov qword [rbp + 0x17], rcx
movabs rcx, 0xa3d296e820f1498d
mov qword [rbp + 0x1f], rcx
movabs rcx, 0xc8edb0b229974e48
mov qword [rbp + 0x27], rcx
movabs rax, 0xc8edb0b229e32b3b
mov qword [rbp - 9], rax
lea rcx, [rbp + 7]
movabs rax, 0x61f3bdd3800320a0
mov qword [rbp + 0x2f], rax
movups xmm2, xmmword [rbp + 0x27]
mov qword [rbp - 1], rax
xorps xmm2, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x27], xmm2
jmp 0x1400687db
cmp ebx, 3
jne 0x14006874a
movabs rax, 0x1e3f28ea3854c959
mov qword [rbp + 7], rax
movabs rax, 0x50b3cfed45d523dc
mov qword [rbp + 0xf], rax
movabs rax, 0xaf3800fad9025358
mov qword [rbp + 0x17], rax
movabs rax, 0xc5d1bee421ed4ab3
jmp 0x1400687d3
cmp ebx, 4
jne 0x140068796
movabs rcx, 0x143f28ea3854c959
mov qword [rbp + 7], rcx
movabs rcx, 0x50bccffb53d427cf
mov qword [rbp + 0xf], rcx
movabs rcx, 0xaf3d11d7f5134456
mov qword [rbp + 0x17], rcx
movabs rcx, 0xabddb6d536fb5d8b
mov qword [rbp + 0x1f], rcx
movabs rcx, 0xc8edb0b25a914e4f
jmp 0x1400686d2
cmp ebx, 5
jne 0x1400688b6
movabs rax, 0x82228ea3854c959
mov qword [rbp + 7], rax
movabs rax, 0x70b4cbda52cf16d8
mov qword [rbp + 0xf], rax
movabs rax, 0xa83e15d9e4094047
mov qword [rbp + 0x17], rax
movabs rax, 0xc5b4d98552fb489f
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 7]
movups xmm0, xmmword [rbp + 7]
movabs rsi, 0x7b4d78be7119bd17
movabs r14, 0x35d0aabf20a742ac
movups xmm1, xmmword [rbp + 0x17]
movabs r15, 0xdb4d709490672531
mov qword [rbp - 0x29], rsi
movabs rdi, 0xc5b4d985529e2ffe
mov qword [rbp - 0x21], r14
xorps xmm0, xmmword [rbp - 0x29]
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], rdi
xorps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp + 0x17], xmm1
call fcn.140059f70
test eax, eax
jne 0x1400688c2
movabs rax, 0x1d6d0adb0169dc7a
mov qword [rbp - 0x29], rsi
mov qword [rbp + 7], rax
lea rdx, [rbp + 7]
movabs rax, 0x15b18adb45cb2bcd
mov qword [rbp - 0x21], r14
mov qword [rbp + 0xf], rax
lea rcx, [0x140126d40]
movups xmm0, xmmword [rbp + 7]
movabs rax, 0xb22111fde40e4b58
mov qword [rbp - 0x19], r15
mov qword [rbp + 0x17], rax
movabs rax, 0xc5b4d985529e4a84
xorps xmm0, xmmword [rbp - 0x29]
mov qword [rbp + 0x1f], rax
movups xmm1, xmmword [rbp + 0x17]
mov qword [rbp - 0x11], rdi
movdqa xmmword [rbp + 7], xmm0
xorps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm1
call fcn.1400598b0
mov rcx, rax
call fcn.140059b60
jmp 0x1400688c2
lea rcx, str.Failed_to_read_idclass_from_registry._n
call fcn.140001840
mov r15, qword [rsp + 0x90]
mov eax, ebx
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd8]
add rsp, 0xa8
pop rbx
pop rbp
ret