Function at 0x140001964
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10e0
call fcn.140013380
sub rsp, rax
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rsp + 0x10d0], rax
lea rcx, [rsp + 0x68]
call fcn.140002604
mov rax, qword [rsp + 0x10f0]
mov dword [rax], 0
mov al, byte [0x14001f541]
mov byte [rsp + 0xcd0], al
lea rax, [rsp + 0xcd1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x1100]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x1108]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001c32
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0xff
mov dword [rsp + 0x40], 3
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x400
jae 0x140001a50
jmp 0x140001a55
call fcn.140005314
mov rax, qword [rsp + 0x58]
mov byte [rsp + rax + 0x4d0], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x4d0]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x1100]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x140001c32
lea rcx, [rsp + 0x80]
call fcn.140001c70
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x88]
call fcn.140002598
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0x40], 3
jne 0x140001bab
lea rdx, str.Password
lea rcx, [rsp + 0x4d0]
call fcn.140001240
test rax, rax
je 0x140001b78
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0xd0]
call fcn.140001884
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x8d0]
call fcn.140003ad0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x8d0]
lea rcx, [rsp + 0xa8]
call fcn.140002598
lea rdx, [0x14001f542]
lea rcx, [rsp + 0x8d0]
call fcn.140003ad0
jmp 0x140001ba9
lea r8, [rsp + 0xd0]
lea rdx, [0x14001f554]
lea rcx, [rsp + 0xd0]
call fcn.140003af8
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa8]
call fcn.140002598
jmp 0x140001bde
cmp dword [rsp + 0x40], 1
jne 0x140001bc9
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa8]
call fcn.140002598
jmp 0x140001bde
cmp dword [rsp + 0x40], 4
jne 0x140001bde
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xcc], eax
mov rax, qword [rsp + 0x10f0]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x10f0]
mov dword [rcx], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.1400026c8
mov dword [rsp + 0x4c], 0x400
mov dword [rsp + 0x44], 0x400
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x80]
call fcn.140001ca8
jmp 0x140001a62
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x10f8]
call fcn.140002630
lea rcx, [rsp + 0x68]
call fcn.140002694
mov rax, qword [rsp + 0x10f8]
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.140004440
add rsp, 0x10e0
pop rdi
ret