Function at 0x1801d2500
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1804e1080]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rax, rdx
mov r15, rcx
xor r12d, r12d
mov rdx, qword [rcx]
cmp qword [rdx + 0x18], 7
jbe 0x1801d2548
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r14d, 1
mov r9d, r14d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1801d2572
xor al, al
jmp 0x1801d28c2
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x40]
call fcn.1802d1800
mov dword [rsp + 0x44], 0x3ff
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1801d28b5
nop
cmp dword [rsp + 0x40], 4
jne 0x1801d286d
cmp dword [rsp + 0x48], 0
jne 0x1801d286d
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1801d2601
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.180017900
nop
xorps xmm0, xmm0
cmp qword [rbp - 0x78], 0
jne 0x1801d263e
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
jmp 0x1801d27cf
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova r8, qword [rsp + 0x78]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, dword [rbp - 0x78]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
test eax, eax
jne 0x1801d26ef
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x68], 0
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r12
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1801d27cf
inc rdx
mov rcx, qword [rsp + 0x58]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1801d26e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d28f9
call fcn.18027ee90
jmp 0x1801d27cf
mov rcx, rsi
mov rdx, qword [rsp + 0x68]
cmp rsi, rdx
ja 0x1801d2718
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rcx
mov byte [rax + rsi], 0
jmp 0x1801d2770
mov rdi, rcx
sub rdi, rdx
mov r8, qword [rsp + 0x70]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x1801d2758
mov qword [rsp + 0x68], rcx
lea rbx, [rsp + 0x58]
cmp r8, 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.1802d1800
mov byte [rbx + rdi], 0
jmp 0x1801d2770
mov byte [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1801b31d0
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rax, qword [rsp + 0x58]
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova r8, qword [rsp + 0x78]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x78]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
jne 0x1801d2692
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x58], xmm1
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1801d2810
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d280b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d28ed
call fcn.18027ee90
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov r8, qword [r15 + 8]
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.1801d2960
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801d286d
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d2868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d28f3
call fcn.18027ee90
mov dword [rsp + 0x44], 0x3ff
mov edx, r14d
inc r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1801d25d0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.18027f9e0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
int3