Function at 0x140012920
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1c0
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov r12, r9
mov r13, r8
mov rdi, rdx
mov r14, rcx
or rsi, 0xffffffffffffffff
xor ebx, ebx
mov r15d, dword [rbp + 0x110]
cmp r15d, esi
jne 0x140012b4f
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x78], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp + 0x108], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x68]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x108]
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140009060
nop
mov dword [rsp + 0x80], esi
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, esi
mov rcx, r14
call fcn.140004870
mov r15d, eax
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x108]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call fcn.1400075c0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140013247
mov dword [rbp + 0x110], ebx
lea rax, [rbp + 0x110]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001323d
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rbp - 0x78], rax
mov word [rax], bx
mov ecx, dword [rbp + 0x110]
shr rcx, 1
add rcx, 2
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400a6ff4
mov rsi, rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rbp + 0x110]
shr eax, 1
mov dword [rbp + 0x110], eax
cmp eax, 2
jbe 0x140013234
dec eax
mov word [rsi + rax*2], bx
mov eax, dword [rbp + 0x110]
mov word [rsi + rax*2], bx
cmp word [rsi], 0
je 0x140013234
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x20], rax
mov word [rax], bx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rbx
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140007b90
mov rbx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x78], rax
mov rcx, rbx
call fcn.1400a82b0
xor r9d, r9d
lea r8, [rbp - 0x20]
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.1400058f0
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140012d29
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str.File_not_found:
call fcn.1400a9d30
test eax, eax
jne 0x140012d25
lea r8d, [rax + 0xa]
lea rdx, str.autocheck
mov rcx, rsi
call fcn.1400a9d30
test eax, eax
jne 0x140012d25
mov rcx, rsi
call fcn.1400a8238
mov rbx, rax
mov qword [rbp + 0x108], rax
lea rcx, [rsi + 0x14]
lea rdx, [rbp - 0x20]
call fcn.140007b90
xor r9d, r9d
lea r8, [rbp - 0x20]
mov rdx, r14
lea rcx, [rbp + 0x68]
call fcn.1400058f0
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, qword [rbp + 0x68]
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
mov rdi, qword [rbp + 0xf8]
mov rcx, qword [rbp - 0x80]
cmp word [rcx], 0
je 0x1400131c5
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
xor ebx, ebx
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x60], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x68], rax
mov word [rax], bx
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x70]
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call fcn.1400058e0
mov dword [rbp + 0x108], eax
mov rcx, rsi
call fcn.1400a8238
mov qword [rbp + 0x50], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x48]
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.140009060
nop
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x50]
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x50]
call fcn.1400a82b0
test bl, bl
je 0x1400131a4
cmp r15d, 0xffffffff
jne 0x140013086
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x58], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x18], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp + 0x40], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp + 0x28], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp + 0x10], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp + 8], rax
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x88]
call fcn.140009060
mov rbx, rax
lea r9, [rbp + 0x10]
lea r8, [rbp + 8]
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.140009060
nop
or r8, 0xffffffffffffffff
mov dword [rsp + 0x80], r8d
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rcx, r14
call fcn.140004870
mov r15d, eax
mov rcx, qword [rbp + 0x98]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x88]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x58]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov qword [rbp + 0x30], rax
mov rcx, rsi
call fcn.1400a8238
mov qword [rbp + 0x20], rax
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x30]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x118]
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x70]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 5
mov r8d, r15d
mov edx, dword [rbp + 0x108]
mov rcx, r14
call fcn.140004870
nop
mov rcx, qword [rbp + 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x14001320b
mov rdi, qword [rbp - 0x10]
cmp rbx, rdi
je 0x1400131f5
nop dword [rax]
mov rcx, qword [rbx]
call fcn.1400a82b0
add rbx, 8
cmp rbx, rdi
jne 0x1400131e0
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.1400a7cb8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor ebx, ebx
mov qword [rbp - 8], rbx
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
xor edx, edx
lea rcx, [rsi + 2]
call fcn.1400a9720
lea rsi, [rax + 2]
cmp word [rsi], 0
mov rdi, qword [rbp + 0xf8]
jne 0x140012c33
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret