Function at 0x100cff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
mov eax, 0x1080
call fcn.01019c70
sub rsp, rax
mov rax, qword [0x0101c380]
xor rax, rsp
mov qword [rsp + 0x1070], rax
and qword [rsp + 0x60], 0
and qword [rsp + 0x50], 0
cmp dword [rcx + 8], 3
mov ebp, r8d
mov r12, rdx
mov r13, rcx
je 0x100d051
cmp dword [rcx + 8], 4
je 0x100d051
cmp dword [rcx + 8], 5
lea rdi, [0x01006a48]
jne 0x100d058
lea rdi, [0x01006a20]
lea rax, [0x01006678]
mov esi, 0x3ff
lea rcx, [rsp + 0x70]
test r8d, r8d
je 0x100d087
mov r9, rdx
lea r8, [0x01007088]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.01014fb0
jmp 0x100d0a3
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x01007090]
mov rdx, rsi
mov r9, rdi
call fcn.01014fb0
test eax, eax
jns 0x100d0b1
mov ebx, 0x6f
jmp 0x100d2b5
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x100d2b5
lea rax, [0x01006690]
mov rdx, rsi
lea rcx, [rsp + 0x70]
test ebp, ebp
je 0x100d109
lea r8, [0x01007088]
mov r9, r12
mov qword [rsp + 0x20], rax
call fcn.01014fb0
jmp 0x100d122
mov qword [rsp + 0x28], rax
lea r8, [0x01007090]
mov r9, rdi
mov qword [rsp + 0x20], r12
call fcn.01014fb0
mov r11d, eax
mov eax, ebx
mov ebx, 0x6f
test r11d, r11d
cmovs eax, ebx
mov ebx, eax
test eax, eax
jne 0x100d2b5
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x870]
xor edi, edi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov esi, 0x400
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x470]
xor edx, edx
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], esi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebp, 0x103
jmp 0x100d2ab
test ebx, ebx
jne 0x100d2b5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x100d235
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x470]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc70]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100d235
mov eax, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
lea r9, [rsp + 0x870]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0xc70]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
jmp 0x100d250
and dword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x470]
mov rcx, r13
call fcn.0100d30c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x870]
inc edi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x470]
mov edx, edi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], esi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
cmp eax, ebp
jne 0x100d1ba
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x100d2c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x100d2d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.0100f170
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret