Function at 0x18005dcb0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x428]
sub rsp, 0x528
mov r15d, r8d
mov r10, rcx
mov r8, rdx
lea ebx, [r15 + 0xb]
mov dword [rsp + 0x60], ebx
cmp r15d, ebx
jae 0x18005e2c0
mov edi, dword [rbp + 0x480]
lea r12d, [r15 - 0x8d]
mov esi, dword [rbp + 0x480]
lea rcx, [0x180000000]
mov rbx, qword [rbp - 0x60]
mov r13d, 0x80
mov r14, qword [rbp - 0x78]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x74], r12d
xor edx, edx
mov r11d, 1
cmp r12d, 0x16
ja case.default.0x18005dd4e
mov ecx, dword [rcx + r12*4 + 0x5e2d8]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov rax, qword [r9]
mov rcx, qword [rax]
mov rdx, qword [rcx]
cmp word [rdx], r13w
jne 0x18005dda6
mov ecx, 0xff
mov eax, ecx
sub eax, 0xff
je 0x18005dd7d
cmp eax, 0x59
jne 0x18005dd96
xor eax, eax
mov word [0x1800ce8f8], ax
jmp 0x18005dd96
mov rax, qword [rbp + 0x490]
mov dword [rdx + 2], r8d
mov eax, dword [rax]
mov qword [rdx + 0xa], r10
mov word [rdx + 0xe], r11w
mov dword [rdx + 6], eax
add ecx, 0x59
cmp ecx, 0x1b1
jb 0x18005dd64
jmp case.0x18005dd4e.1
mov eax, 0xfa5
mov word [0x1800ce8f8], ax
jmp case.0x18005dd4e.1
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x104
call fcn.18006e5e0
lea rcx, [rbp + 0x200]
mov edx, 2
lea rax, [rbp + 0xf0]
nop
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r13
movups xmmword [rcx + 0x60], xmm0
add rcx, r13
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18005dde0
mov eax, dword [rax]
mov r9, qword [rbp + 0x488]
mov r8, qword [rbp + 0x478]
mov r10, qword [rbp + 0x470]
mov dword [rcx], eax
mov dword [rbp - 0x6c], 0x104
jmp case.0x18005dd4e.1
mov dword [rsp + 0x70], 0x104
jmp case.0x18005dd4e.1
movups xmm0, xmmword [str.IR::Operand____________________rangeBoundOperand__0]
mov qword [rbp - 0x78], 0xffffffff80000002
mov edi, edx
movups xmm1, xmmword [0x180099150]
mov r14, qword [rbp - 0x78]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x180099160]
mov qword [rbp - 0x68], 0xffffffff80000001
movaps xmmword [rbp - 0x30], xmm1
movsd xmm1, qword [0x180099170]
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
jmp case.0x18005dd4e.1
mov dword [rbp - 0x70], 4
mov esi, edx
mov dword [rsp + 0x68], 0x50
jmp case.0x18005dd4e.1
lea rax, [rbp - 0x68]
mov qword [rsp + 0x78], 0xffffffff80000001
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r9, qword [rbp + 0x488]
mov r8, qword [rbp + 0x478]
mov r10, qword [rbp + 0x470]
movsxd rbx, eax
jmp case.0x18005dd4e.1
mov r13d, edx
mov r12d, edx
nop word [rax + rax]
mov r15d, 0x55
nop word [rax + rax]
mov eax, r15d
sub eax, 0x55
je 0x18005e188
sub eax, 1
je 0x18005e179
sub eax, 1
je 0x18005e0d8
sub eax, 1
je 0x18005e068
cmp eax, 1
jne 0x18005e1be
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x18005dfcf
mov r14d, edx
nop dword [rax + rax]
mov ebx, 0x36
cmp ebx, 0x36
je 0x18005e05b
cmp ebx, 0xe9
je 0x18005dfe2
cmp ebx, 0x19c
jne 0x18005dfb7
lea rcx, [rbp + 0x30]
call fcn.180071acc
mov rcx, rax
lea rdx, str._I__I_QI_QI_
call fcn.18007cb70
test eax, eax
jne 0x18005dfa9
cmp dword [rsp + 0x64], 1
mov r11d, 1
cmove edi, r11d
test esi, esi
je 0x18005dfb5
test edi, edi
jne 0x18005e2a8
xor edx, edx
add ebx, 0xb3
cmp ebx, 0x24f
jb 0x18005df65
inc r14d
cmp r14d, dword [rsp + 0x6c]
jb 0x18005df60
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsxd rbx, eax
jmp 0x18005e1bc
mov rcx, qword [rsp + 0x78]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x64]
mov byte [rbp + 0x30], 0
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea rcx, [rbp + 0x30]
call fcn.180071acc
xor ecx, ecx
lea r8, str.enabled
nop dword [rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x18005dfb5
cmp rcx, 8
jne 0x18005e030
cmp dword [rsp + 0x64], 1
jne 0x18005dfb5
lea esi, [rcx - 7]
jmp 0x18005dfb5
mov dword [rsp + 0x68], 0x50
jmp 0x18005dfb7
test rbx, rbx
jne case.0x18005dd4e.19
mov rcx, qword [rsp + 0x78]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea r8, [rbp - 0x6c]
lea rax, [rbp - 0x58]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x200]
lea rax, [rbp - 0x54]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x18005e1bc
mov rcx, rdx
nop dword [rax + rax]
movzx eax, byte [rbp + rcx - 0x40]
mov byte [rbp + rcx + 0x80], al
lea rcx, [rcx + 1]
test al, al
jne 0x18005e0e0
lea rcx, [rbp + 0x80]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18005e100
movzx eax, word [0x18009653c]
mov word [rcx], ax
lea rcx, [rbp + 0x80]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18005e120
lea r8, [rbp + 0x310]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18005e140
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x78]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movsxd rbx, eax
jmp 0x18005e1bc
test r12d, r12d
jne 0x18005e1be
mov dword [rsp + 0x70], 0x104
jmp 0x18005e1be
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
mov qword [rsp + 0x30], rdx
lea r8, [rbp + 0x310]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov edx, r13d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r12d, eax
xor edx, edx
inc r15d
cmp r15d, 0x5a
jb 0x18005df20
inc r13d
test r12d, r12d
je 0x18005df10
mov r9, qword [rbp + 0x488]
mov r13d, 0x80
mov r14, qword [rbp - 0x78]
mov r15d, dword [rbp + 0x480]
mov r12d, dword [rsp + 0x74]
mov r8, qword [rbp + 0x478]
mov r10, qword [rbp + 0x470]
jmp case.0x18005dd4e.1
mov r8d, 0x102
nop word [rax + rax]
cmp r8d, 0x102
je 0x18005e228
cmp r8d, 0x1f3e
je 0x18005e2c0
jmp 0x18005e248
cmp qword [r9], 0
je 0x18005e242
nop
mov rax, qword [r9]
inc rdx
mov rcx, qword [rax + 0x38]
mov qword [r9], rcx
test rcx, rcx
jne 0x18005e230
mov qword [rbp - 0x80], rdx
xor edx, edx
add r8d, 0x1e3c
cmp r8d, 0x3c78
jbe 0x18005e210
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, qword [rbp + 0x488]
mov r8, qword [rbp + 0x478]
mov r10, qword [rbp + 0x470]
movsxd rbx, eax
jmp case.0x18005dd4e.1
test rbx, rbx
jne case.0x18005dd4e.19
mov eax, dword [rsp + 0x60]
lea rcx, [0x180000000]
inc r15d
inc r12d
mov dword [rbp + 0x480], r15d
mov dword [rsp + 0x74], r12d
cmp r15d, eax
jae 0x18005e2c0
jmp 0x18005dd2a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov dword [rbp - 0x80], eax
jmp 0x18005e2c0
mov dword [rbp - 0x80], edx
mov rax, qword [rbp - 0x80]
add rsp, 0x528
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret