Function at 0x140051790
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], r12
push rbp
push r14
push r15
sub rsp, 0x230
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140083040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor edx, edx
lea rcx, [rbp + 0xc0]
mov r8d, 0x104
xor sil, sil
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x28], 0x104
movabs rdx, 0x3c4fa81e6c02f49
movabs rcx, 0xf402ea2894684b4a
mov r12d, 1
mov dword [rbp + 0x2c], r12d
movabs rax, 0x67f500f81c9b5876
mov qword [rbp + 0x20], rax
movabs rbx, 0x24a94dbd48c80125
mov rax, qword [rbp + 0x20]
movabs rdi, 0xb927fa44c1a37a96
mov qword [rbp + 0x40], rax
movabs r15, 0x9232794b169da14f
movabs rax, 0xd6648e2aa4d108e3
movabs r14, 0xec03e2aad353fe48
mov qword [rbp + 0x20], rax
mov r9d, r12d
mov rax, qword [rbp + 0x20]
xor r8d, r8d
mov qword [rbp + 0x48], rax
movabs rax, 0xe6572a2779efd521
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x50], rax
movabs rax, 0x806c90debd3cbd14
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x20], rdx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x20], rbx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x20], rdi
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x20], r15
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x20], r14
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x20], rdx
lea rdx, [rbp + 0x40]
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x20], rcx
mov rcx, 0xffffffff80000002
mov rax, qword [rbp + 0x20]
movdqa xmm2, xmmword [rbp + 0x60]
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x20]
vxorps xmm2, xmm2, xmmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqa xmmword [rbp + 0x60], xmm2
mov qword [rsp + 0x20], rax
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140051b07
movabs rax, 0x50fa20d83cbb7876
lea r9, [rbp + 0x2c]
mov qword [rbp], rax
lea rdx, [rbp + 0x40]
mov rax, qword [rbp]
xor r8d, r8d
mov qword [rbp + 0x40], rax
movabs rax, 0xd64e8e348ed708f7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x9232794b169dd221
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x98], rax
lea rax, [rbp + 0x28]
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
vmovdqa ymmword [rbp + 0x40], ymm1
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140051afd
movabs rax, 0x6aee04ee1c9b4471
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xb927fa44c1e434df
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rbx
lea rbx, [rbp + 0xc0]
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x48], rax
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x10], xmm0
cmp byte [rbp + 0xc0], sil
je 0x140051afd
mov rdi, qword [rbp + 0x10]
lea r11, [rbp + 0x10]
lea rax, [rbp + 0xc0]
sub r11, rax
test rbx, rbx
je 0x140051afd
mov rax, rbx
movzx ecx, dil
nop dword [rax]
movsx edx, byte [rax]
mov r10, rax
movsx r9d, cl
inc rax
lea ecx, [rdx - 0x41]
cmp ecx, 0x19
lea r8d, [rdx + 0x20]
lea ecx, [r9 - 0x41]
cmova r8d, edx
cmp ecx, 0x19
lea edx, [r9 + 0x20]
cmova edx, r9d
cmp r8d, edx
jne 0x140051b3b
movzx ecx, byte [r11 + r10 + 1]
test cl, cl
jne 0x140051aa0
xor edx, edx
lea rcx, [rbp + 0x10]
test dil, dil
je 0x140051aef
inc edx
lea rcx, [rcx + 1]
cmp byte [rcx], sil
jne 0x140051ae4
movsxd rcx, edx
cmp rax, rcx
movzx esi, sil
cmovne esi, r12d
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400677c0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
inc rbx
dec r11
cmp byte [rbx], sil
jne 0x140051a90
jmp 0x140051afd