Function at 0x1801973f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
cmp qword [rsp + 0x508], 0
jne 0x180197434
xor al, al
jmp 0x1801976ef
mov rcx, qword [rsp + 0x510]
call fcn.180055590
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [rsp + 0x90]
call fcn.1800f5140
nop
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0xc0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x508]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x180197567
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.1801daff0
mov dword [rsp + 0x80], eax
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.1800f5240
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0xc0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x508]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x48], eax
jmp 0x1801974ce
cmp dword [rsp + 0x48], 0x103
je 0x18019758d
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x90]
call fcn.1800f3ca0
movzx eax, byte [rsp + 0x40]
jmp 0x1801976ef
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1800341e0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.180048450
jmp 0x1801975ba
lea rcx, [rsp + 0x78]
call fcn.1800482d0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x90]
call fcn.180043230
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800431c0
movzx eax, al
test eax, eax
je 0x1801976d8
lea rcx, [rsp + 0x78]
call fcn.180144380
mov edx, dword [rax]
lea rcx, [rsp + 0xa0]
call fcn.1801dba20
nop
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x84], 0x208
lea rcx, [rsp + 0xa0]
call fcn.180037970
lea rcx, [rsp + 0x84]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x2d0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x508]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180197686
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xa0]
call fcn.180033840
nop
lea rcx, [rsp + 0x90]
call fcn.1800f3ca0
movzx eax, byte [rsp + 0x41]
jmp 0x1801976ef
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x2d0]
call fcn.1802aeaec
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x8c], eax
lea rdx, [rsp + 0x8c]
mov rcx, qword [rsp + 0x510]
call fcn.1800555a0
nop
lea rcx, [rsp + 0xa0]
call fcn.180033840
jmp 0x1801975b0
mov byte [rsp + 0x42], 1
lea rcx, [rsp + 0x90]
call fcn.1800f3ca0
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x4f0
pop rdi
ret