Function at 0x18001ea60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1800971d8]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r13, r9
mov rsi, r8
mov r14d, edx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor r12b, r12b
mov dword [rbp + 4], 1
mov rbx, qword [0x18009d768]
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r12b
jne 0x18001eacd
cmp dword [rax + 0x20], ecx
jge 0x18001eac1
mov rax, qword [rax + 0x10]
jmp 0x18001eac7
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x18001eab6
cmp byte [rbx + 0x19], r12b
jne 0x18001f0b3
cmp ecx, dword [rbx + 0x20]
jl 0x18001f0b3
cmp qword [r8 + 0x10], r15
jne 0x18001eafb
lea rdx, [rbx + 0x38]
lea rcx, [rbp - 0x60]
call fcn.180016940
nop
mov esi, 1
jmp 0x18001eb73
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov r8d, 1
lea rdx, [0x18007b2b4]
lea rcx, [rsp + 0x38]
call fcn.1800103c0
nop
mov dword [rsp + 0x30], 2
lea r8, [rsp + 0x38]
lea rdx, [rbx + 0x38]
lea rcx, [rbp - 0x80]
call fcn.18001de80
nop
mov dword [rsp + 0x30], 6
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18001dda0
nop
mov esi, 0xe
lea r15d, [rsi - 6]
mov dword [rsp + 0x30], esi
mov edi, dword [rbx + 0x30]
mov rbx, qword [rbx + 0x28]
mov qword [rbp + 0x20], 0
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.180016940
nop
or edi, 0x20019
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x18001ebfa
call fcn.1800132a0
test al, al
je 0x18001ebfa
cmp dword [0x180097170], 1
jg 0x18001ebfa
mov dword [rsp + 0x20], edi
lea r9, str.Unable_to_open_registry_key__error_code__d
mov r8d, 0x163
lea rdx, [0x18007b2b3]
mov ecx, 1
call fcn.1800132b0
nop
test r15d, r15d
je 0x18001ec61
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18001ec48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ec43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0c0
call fcn.1800222a0
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
jmp 0x18001ec64
xor r15d, r15d
test sil, 4
je 0x18001ecc2
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18001ecb1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ecac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0c6
call fcn.1800222a0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
test sil, 2
je 0x18001ed25
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18001ed11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ed0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0cc
call fcn.1800222a0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
test sil, 1
je 0x18001ed83
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18001ed72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ed6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0d2
call fcn.1800222a0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
test r13, r13
jne 0x18001ee6d
mov rdx, qword [0x18009d778]
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], r13b
jne 0x18001edb8
nop dword [rax]
cmp dword [rax + 0x20], r14d
jge 0x18001edac
mov rax, qword [rax + 0x10]
jmp 0x18001edb2
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18001eda0
cmp byte [rdx + 0x19], 0
jne 0x18001f0de
cmp r14d, dword [rdx + 0x20]
jl 0x18001f0de
add rdx, 0x28
lea rcx, [rbp - 0x40]
call fcn.180016940
or esi, 0x10
mov dword [rsp + 0x30], esi
cmp qword [rax + 0x18], 8
jb 0x18001edea
mov rax, qword [rax]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 4]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
and esi, 0xffffffef
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x18001ee51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ee4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0d8
call fcn.1800222a0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
test edi, edi
sete r12b
jmp 0x18001f067
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rax
mov word [rsp + 0x34], r15w
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
lfence
mov ecx, 0x800
call fcn.180022bc0
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
add rax, 0x800
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x58], rax
mov rbx, qword [rbp + 8]
cmp word [rsp + 0x34], r15w
jne 0x18001eecf
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.18004a7e0
jmp 0x18001eede
movzx eax, r15w
mov rdi, rbx
mov ecx, 0x400
rep stosw word [rdi], ax
lea rax, [rbx + 0x800]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x58], r15
mov dword [rbp], 0x400
mov rbx, qword [rbp + 8]
mov rdx, qword [0x18009d778]
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001ef28
nop word [rax + rax]
cmp dword [rax + 0x20], r14d
jge 0x18001ef1c
mov rax, qword [rax + 0x10]
jmp 0x18001ef22
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18001ef10
cmp byte [rdx + 0x19], 0
jne 0x18001f0a6
cmp r14d, dword [rdx + 0x20]
jl 0x18001f0a6
add rdx, 0x28
lea rcx, [rbp - 0x20]
call fcn.180016940
mov edi, dword [rsp + 0x30]
or edi, 0x20
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 8
jb 0x18001ef5e
mov rax, qword [rax]
lea rcx, [rbp]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 4]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
and edi, 0xffffffdf
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x18001efc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001efc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0eb
call fcn.1800222a0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
test ebx, ebx
je 0x18001efe3
xor r12b, r12b
jmp 0x18001f01a
mov ecx, dword [rbp]
test ecx, ecx
je 0x18001f01a
mov rdi, qword [rbp + 8]
nop
lea edx, [rcx - 1]
cmp word [rdi + rdx*2], 0
jne 0x18001f005
mov ecx, edx
mov dword [rbp], edx
test edx, edx
jne 0x18001eff0
jmp 0x18001f01a
test ecx, ecx
je 0x18001f01a
mov r8d, ecx
mov rdx, rdi
mov rcx, r13
call fcn.1800103c0
mov r12b, 1
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x18001f067
mov rax, qword [rbp + 0x18]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001f056
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001f0f1
call fcn.1800222a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x28]
call fcn.18000b1a0
movzx eax, r12b
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.180022280
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_map_K__T__key
call fcn.1800239a4
nop
lea rcx, str.invalid_map_K__T__key
call fcn.1800239a4
nop
call fcn.1800537d0
nop
call fcn.1800537d0
nop
call fcn.1800537d0
nop
call fcn.1800537d0
int3
call fcn.1800537d0
nop
lea rcx, str.invalid_map_K__T__key
call fcn.1800239a4
nop
call fcn.1800537d0
nop
call fcn.1800537d0
int3