Function at 0x140020a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1b0
mov rsi, r9
mov r13, r8
mov r12, rdx
mov r15, rcx
xor edi, edi
lea rbx, [rdi - 1]
mov r14d, dword [rbp + 0x100]
cmp dword [0x14017881c], edi
je 0x140020ce2
cmp r14d, ebx
jne 0x140020ce2
mov qword [rbp - 0x38], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x40], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x48], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x50], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x80], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x58], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x60], rdi
lea rdi, [0x14011eaa0]
test rsi, rsi
cmovne rdi, rsi
mov rcx, rdi
call fcn.1400e81d8
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.1400e825c
nop
xor r14d, r14d
mov qword [rbp - 0x30], r14
lea rbx, [0x14011eaa0]
test r13, r13
cmovne rbx, r13
mov rcx, rbx
call fcn.1400e81d8
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x30]
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.14000b540
mov rsi, rax
mov qword [rbp - 0x70], r14
mov rcx, rdi
call fcn.1400e81d8
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.1400e825c
nop
xor edi, edi
mov qword [rbp - 0x68], rdi
mov rcx, rbx
call fcn.1400e81d8
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x68]
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.14000b540
nop
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdi
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
xor edx, edx
mov rcx, r15
call fcn.140005d90
mov r14d, eax
mov rcx, qword [rbp - 0x18]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400e825c
mov rsi, qword [rbp + 0xf8]
mov qword [rbp - 0x20], rdi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call fcn.140009290
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140021396
mov dword [rbp - 0x78], edi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x78]
shr rcx, 1
add rcx, 2
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400e17ec
mov rbx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rbp - 0x78]
shr eax, 1
mov dword [rbp - 0x78], eax
cmp eax, 2
jbe 0x14002138c
dec eax
mov word [rbx + rax*2], di
mov eax, dword [rbp - 0x78]
mov word [rbx + rax*2], di
cmp word [rbx], 0
je 0x14002138c
nop word [rax + rax]
mov ecx, 2
call fcn.1400e8270
mov qword [rbp + 0x80], rax
mov word [rax], di
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rdi
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.14000a050
mov qword [rbp - 0x28], rdi
mov rcx, rbx
call fcn.1400e81d8
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.1400e825c
nop
xor r9d, r9d
lea r8, [rbp + 0x80]
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140007340
nop
mov rcx, qword [rbp - 0x70]
cmp word [rcx], 0
je 0x14002134b
mov ecx, 2
call fcn.1400e8270
mov qword [rbp - 0x68], rax
mov word [rax], di
mov ecx, 2
call fcn.1400e8270
mov qword [rbp + 0x38], rax
mov word [rax], di
mov ecx, 2
call fcn.1400e8270
mov qword [rbp + 0x30], rax
mov word [rax], di
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
mov rcx, r15
call fcn.140007330
mov dword [rbp - 0x30], eax
mov qword [rbp - 0x80], rdi
lea r13, [0x14011eaa0]
test rsi, rsi
cmovne r13, rsi
mov rcx, r13
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x50], rdi
lea rdi, [0x14011eaa0]
mov rax, qword [rbp + 0xf0]
test rax, rax
cmovne rdi, rax
mov qword [rbp - 0x18], rdi
mov rcx, rdi
call fcn.1400e81d8
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x50]
mov rdx, r12
lea rcx, [rbp + 0x58]
call fcn.14000b540
mov rsi, rax
mov qword [rbp - 0x48], 0
mov rcx, r13
call fcn.1400e81d8
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x40], 0
mov rcx, rdi
call fcn.1400e81d8
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
mov rdx, r12
lea rcx, [rbp + 0x50]
call fcn.14000b540
mov rdi, rax
mov qword [rbp - 0x38], 0
mov rcx, rbx
call fcn.1400e81d8
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rdi
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.1400058c0
movzx edi, al
mov rcx, qword [rbp - 0x38]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x50]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x58]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
test dil, dil
je 0x140021321
cmp r14d, 0xffffffff
jne 0x1400211ee
xor r14d, r14d
mov qword [rbp - 0x80], r14
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 0x10], r14
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp + 0x10], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 8], r14
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp + 8], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp], r14
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 8], r14
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 8], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x10], r14
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x10], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 0x48], r14
mov rcx, r13
call fcn.1400e81d8
mov qword [rbp + 0x48], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 0x40], r14
mov rcx, qword [rbp - 0x18]
call fcn.1400e81d8
mov qword [rbp + 0x40], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x40]
mov rdx, r12
lea rcx, [rbp + 0x68]
call fcn.14000b540
mov rdi, rax
mov qword [rbp - 0x60], r14
mov rcx, r13
call fcn.1400e81d8
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x18]
call fcn.1400e81d8
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x58]
mov rdx, r12
lea rcx, [rbp + 0x60]
call fcn.14000b540
nop
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x80], edx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r14
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, edx
xor edx, edx
mov rcx, r15
call fcn.140005d90
mov r14d, eax
mov rcx, qword [rbp + 0x60]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x68]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x48]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 8]
call fcn.1400e825c
nop
mov rcx, qword [rbp]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 8]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x10]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
xor edi, edi
mov qword [rbp - 0x80], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov rsi, qword [rbp + 0x70]
mov qword [rbp + 0x28], rdi
mov rcx, r13
call fcn.1400e81d8
mov qword [rbp + 0x28], rax
xor ecx, ecx
call fcn.1400e825c
nop
xor r13d, r13d
mov qword [rbp + 0x20], r13
mov rcx, qword [rbp - 0x18]
call fcn.1400e81d8
mov qword [rbp + 0x20], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x20]
mov rdx, r12
lea rcx, [rbp + 0x78]
call fcn.14000b540
mov rdi, rax
mov qword [rbp + 0x18], r13
mov rcx, rbx
call fcn.1400e81d8
mov qword [rbp + 0x18], rax
xor ecx, ecx
call fcn.1400e825c
nop
movzx ecx, byte [rbp + 0x108]
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rsi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 5]
mov r8d, r14d
mov edx, dword [rbp - 0x30]
mov rcx, r15
call fcn.140005d90
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x78]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x38]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400e825c
mov rcx, qword [rbp - 0x70]
mov rsi, qword [rbp + 0xf8]
xor edi, edi
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400e825c
nop
lea rcx, [rbp + 0x88]
call fcn.140002c80
mov rcx, qword [rbp + 0x80]
call fcn.1400e825c
xor edx, edx
lea rcx, [rbx + 2]
call fcn.1400e3bac
lea rbx, [rax + 2]
cmp word [rbx], 0
jne 0x140020da0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret