Function at 0x14003ce00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x17c0]
mov eax, 0x18c0
call fcn.1400d23b0
sub rsp, rax
mov rax, qword [rbp + 0x1818]
mov rdx, qword [rbp + 0x1828]
mov rbx, rcx
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x1820]
xor esi, esi
lea rcx, [rbp - 0x50]
mov r8d, 0x3ff
mov dword [rbp + 0xfb0], esi
mov qword [rbp - 0x58], rax
mov word [rbp + 0x7b0], si
call fcn.1400cd7f4
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x50]
mov word [rbp + 0x7ae], si
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14003ce93
cmp word [rbp + rcx*2 - 0x52], 0x5c
jne 0x14003ce93
mov word [rbp + rcx*2 - 0x52], si
mov rax, qword [0x1401144a8]
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp - 0x50]
mov r9d, dword [rax + 0x110]
lea rax, [rsp + 0x68]
xor r8d, r8d
or r9d, 9
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003d2f1
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14003d2e6
mov esi, dword [rbp - 0x70]
mov rdi, qword [0x1401144a8]
mov ecx, dword [rbp + 0x1808]
mov qword [rbp - 0x78], rdi
test esi, esi
je 0x14003d0a5
cmp ecx, 2
je 0x14003d0a5
xor ecx, ecx
dec esi
mov qword [rbp + 0xfb4], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0xfb0]
mov qword [rsp + 0x28], rax
mov word [rbp + 0x7b0], cx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x7b0]
mov edx, esi
mov dword [rbp - 0x80], esi
mov dword [rsp + 0x70], 0x400
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003d05a
lea rax, [rbp - 0x60]
mov qword [rdi + 0x18], rax
mov rcx, qword [rbx + 0x20]
cmp byte [rcx], 0x75
jne 0x14003cfdf
mov rsi, qword [rbp + 0x17e8]
nop dword [rax]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x78]
mov r8, rsi
mov edx, 2
call fcn.140032520
mov rcx, qword [rbx + 0x20]
mov edi, eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x78]
cmp rax, rcx
je 0x14003cfb0
mov esi, dword [rbp - 0x80]
jmp 0x14003d000
mov r8, qword [rbp + 0x17e8]
lea r9, [rsp + 0x78]
mov edx, 3
call fcn.140032520
mov edi, eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14003d02b
cmp edi, 6
jne 0x14003d067
cmp rax, rbx
je 0x14003d035
mov rcx, qword [rbp + 0x17f8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14003d2f6
cmp edi, 1
je 0x14003d035
cmp edi, 6
jne 0x14003d08d
mov rax, qword [rbp + 0x1800]
test rax, rax
je 0x14003d052
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14003c040
test al, al
jne 0x14003d089
mov rdi, qword [rbp - 0x78]
inc qword [rdi + 8]
test esi, esi
je 0x14003d09f
dec esi
xor ecx, ecx
jmp 0x14003cf43
cmp rax, rbx
jne 0x14003d00f
mov r8, qword [rbp + 0x17f0]
mov rcx, qword [rsp + 0x68]
mov byte [r8], 1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14003d2f6
mov edi, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14003d2f6
mov ecx, dword [rbp + 0x1808]
mov eax, dword [rbp - 0x7c]
test eax, eax
je 0x14003d2e6
cmp ecx, 1
jne 0x14003d0c2
cmp byte [rbp + 0x1810], 0
je 0x14003d2e6
mov dword [rbp + 0xfb0], 0xfffffffe
lea esi, [rax - 1]
nop
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0xfb4]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor eax, eax
lea r8, [rbp + 0x7b0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov edx, esi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0x400
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14003d2b5
cmp dword [rbp + 0x1808], 1
je 0x14003d1e1
lea rax, [rbp - 0x60]
mov qword [rdi + 0x18], rax
mov rcx, qword [rbx + 0x20]
cmp byte [rcx], 0x75
jne 0x14003d170
nop word [rax + rax]
mov r8, qword [rbp + 0x17e8]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x78]
mov edx, 2
call fcn.140032520
mov rcx, qword [rbx + 0x20]
mov edi, eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x78]
cmp rax, rcx
je 0x14003d140
jmp 0x14003d191
mov r8, qword [rbp + 0x17e8]
lea r9, [rsp + 0x78]
mov edx, 3
call fcn.140032520
mov edi, eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14003d1aa
cmp edi, 6
jne 0x14003d2c4
cmp rax, rbx
jne 0x14003d00f
jmp 0x14003d1b8
cmp edi, 1
je 0x14003d1b8
cmp edi, 6
jne 0x14003d08d
mov rax, qword [rbp + 0x1800]
test rax, rax
je 0x14003d1d9
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14003c040
test al, al
jne 0x14003d089
mov rax, qword [rbp - 0x78]
inc qword [rax + 8]
movzx edi, byte [rbp + 0x1810]
test dil, dil
je 0x14003d2b5
cmp word [rbp - 0x50], 0
lea rcx, [0x1400e80f8]
lea rax, [0x1400e346c]
cmovne rax, rcx
lea rcx, [rbp + 0x7b0]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x28], rcx
lea r8, [0x1400e8c48]
lea rcx, [rbp + 0xfc0]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.1400ad210
mov rax, qword [rbp + 0x1820]
mov r9, qword [rbp + 0x17f8]
mov r8, qword [rbp + 0x17f0]
mov rdx, qword [rbp + 0x17e8]
lea r11, [rbp + 0xfc0]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x1818]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x1808]
mov byte [rsp + 0x30], dil
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x1800]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14003ce00
mov edi, eax
cmp eax, 1
jne 0x14003d019
mov rax, qword [rbp + 0x17f0]
cmp byte [rax], 0
jne 0x14003d2e6
mov rax, qword [rbp + 0x17f8]
cmp qword [rax], 0
jne 0x14003d2e6
test esi, esi
je 0x14003d2e6
mov rdi, qword [rbp - 0x78]
dec esi
jmp 0x14003d0d0
cmp rax, rbx
jne 0x14003d00f
mov rax, qword [rbp + 0x17f0]
mov rcx, qword [rsp + 0x68]
mov byte [rax], 1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14003d2f6
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x18e0]
add rsp, 0x18c0
pop rdi
pop rsi
pop rbp
ret