Function at 0x18011fb40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rsi, r9
mov rdi, r8
mov r14, rdx
xor r15d, r15d
mov qword [r9 + 0x10], r15
mov rax, r9
cmp qword [r9 + 0x18], 8
jb 0x18011fb80
mov rax, qword [r9]
mov word [rax], r15w
test r14, r14
jne 0x18011fb90
xor al, al
jmp 0x18011fd64
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov byte [rbp + 0x30], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
mov edx, 0x200
lea rcx, [rbp - 0x20]
call fcn.18004fd40
mov eax, dword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub eax, ecx
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x48], r15d
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18011fbe8
mov rdx, qword [rdi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [rbp + 0x48]
test ebx, ebx
jne 0x18011fc1a
test eax, eax
jne 0x18011fc1a
mov bl, 1
jmp 0x18011fd18
cmp eax, 3
jb 0x18011fc29
mov ebx, 0x490
jmp 0x18011fd13
cmp ebx, 0xea
jne 0x18011fca3
mov ecx, dword [rbp + 0x38]
cmp ecx, 1
jbe 0x18011fd13
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
mov byte [rbp + 0x30], 0
lea edx, [rcx + 8]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.18004fd40
cmp qword [rdi + 0x18], 8
jb 0x18011fc7c
mov rdi, qword [rdi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x18011fd15
mov byte [rbp + 0x30], bl
mov rdx, qword [rbp - 0x18]
cmp qword [rbp - 0x10], rdx
je 0x18011fcc3
mov byte [rdx], bl
mov rdx, qword [rbp - 0x18]
inc rdx
mov qword [rbp - 0x18], rdx
jmp 0x18011fcd4
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.18004ffd0
mov rdx, qword [rbp - 0x18]
mov byte [rbp + 0x30], 0
cmp qword [rbp - 0x10], rdx
je 0x18011fce7
mov byte [rdx], 0
inc qword [rbp - 0x18]
jmp 0x18011fcf4
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.18004ffd0
mov rdx, qword [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18011fd00
mov rcx, rsi
call fcn.1800055c0
test ebx, ebx
sete bl
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18011fd61
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18011fd50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18011fd50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
movzx eax, bl
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret