Function at 0x140019960
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r15, r9
mov r12, r8
mov rsi, rdx
mov r13, rcx
or rdi, 0xffffffffffffffff
xor ebx, ebx
mov r14d, dword [rbp + 0x100]
cmp dword [0x1401254e8], ebx
je 0x140019b95
cmp r14d, edi
jne 0x140019b95
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 - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x78], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x70]
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x68]
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140009060
nop
mov dword [rsp + 0x80], edi
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, edi
mov rcx, r13
call fcn.140004870
mov r14d, eax
mov rcx, qword [rbp - 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
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
nop
mov rcx, qword [rbp - 0x78]
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 - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
xor ebx, ebx
mov qword [rbp - 0x20], rbx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.1400075c0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001a1be
mov dword [rbp - 0x80], ebx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x80]
shr rcx, 1
add rcx, 2
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1400a6ff4
mov rdi, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rbp - 0x80]
shr eax, 1
mov dword [rbp - 0x80], eax
cmp eax, 2
jbe 0x14001a1b4
dec eax
mov word [rdi + rax*2], bx
mov eax, dword [rbp - 0x80]
mov word [rdi + rax*2], bx
cmp word [rdi], 0
je 0x14001a1b4
nop dword [rax]
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp + 0x58], rax
mov word [rax], bx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rbx
lea rdx, [rbp + 0x58]
mov rcx, rdi
call fcn.140007b90
mov rcx, rdi
call fcn.1400a8238
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea r8, [rbp + 0x58]
mov rdx, r13
lea rcx, [rbp - 0x78]
call fcn.1400058f0
nop
mov rcx, qword [rbp - 0x78]
cmp word [rcx], 0
je 0x14001a13b
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
mov word [rax], bx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x68], rax
mov word [rax], bx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x60], rax
mov word [rax], bx
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov rcx, r13
call fcn.1400058e0
mov dword [rbp - 0x28], eax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x48], rax
mov rcx, rdi
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x58]
mov rdx, rsi
lea rcx, [rbp + 0x98]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x48]
mov rdx, rsi
lea rcx, [rbp + 0x78]
call fcn.140009060
nop
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp + 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x98]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
test bl, bl
je 0x14001a11a
cmp r14d, 0xffffffff
jne 0x140019ffc
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x18], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x10], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 8], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
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 r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp + 0x38], rax
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x10]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.140009060
mov rbx, rax
lea r9, [rbp]
lea r8, [rbp + 0x38]
mov rdx, rsi
lea rcx, [rbp + 0xa0]
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 + 0x30]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rcx, r13
call fcn.140004870
mov r14d, eax
mov rcx, qword [rbp + 0xa0]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp]
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 + 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x18], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 8], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp + 0x20], rax
mov rcx, rdi
call fcn.1400a8238
mov qword [rbp + 0x40], rax
lea r9, [rbp - 8]
lea r8, [rbp + 0x20]
mov rdx, rsi
lea rcx, [rbp + 0x88]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x108]
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x80]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 5
mov r8d, r14d
mov edx, dword [rbp - 0x28]
mov rcx, r13
call fcn.140004870
nop
mov rcx, qword [rbp + 0x88]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
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 - 0x70]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400a82b0
nop
mov rbx, qword [rbp + 0x60]
test rbx, rbx
je 0x14001a192
mov rsi, qword [rbp + 0x68]
cmp rbx, rsi
je 0x14001a175
nop dword [rax]
mov rcx, qword [rbx]
call fcn.1400a82b0
add rbx, 8
cmp rbx, rsi
jne 0x14001a160
mov rbx, qword [rbp + 0x60]
mov rcx, rbx
call fcn.1400a7cb8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
xor ebx, ebx
mov qword [rbp + 0x70], rbx
mov rsi, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x58]
call fcn.1400a82b0
xor edx, edx
lea rcx, [rdi + 2]
call fcn.1400a9720
lea rdi, [rax + 2]
cmp word [rdi], 0
jne 0x140019c50
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret