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

Disassembly:
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x688]
sub rsp, 0x788
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov r13, rcx
xor r15d, r15d
lea rcx, [rbp + 0x270]
mov qword [rsp + 0x40], r15
xor edx, edx
mov r8d, 0x400
mov r12d, r15d
call fcn.140017670
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareIntelProunstlSupportedDevices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142db
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x7c0], rsi
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x7c8], rdi
mov esi, r15d
mov qword [rsp + 0x28], r15
mov edi, r15d
mov qword [rsp + 0x780], r14
mov r14d, r15d
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400142b8
mov qword [rsp + 0x7b8], rbx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x70]
inc edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400140a9
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x54]
lea rax, [rbp + 0x70]
mov dword [rsp + 0x54], 0x200
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x270]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
mov ebx, r15d
mov dword [rsp + 0x50], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001409e
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x54]
lea rax, [rbp + 0x70]
mov dword [rsp + 0x54], 0x200
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x270]
inc ebx
mov qword [rsp + 0x28], r15
mov edx, ebx
mov qword [rsp + 0x20], r15
inc esi
mov dword [rsp + 0x50], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140014050
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r15
mov edx, edi
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140013fd0
test esi, esi
je 0x1400142b0
mov ecx, esi
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400157b4
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x58]
xor edi, edi
lea r8, [rsp + 0x70]
mov r12, rax
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400142ac
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x70]
inc r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001426b
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x54]
lea rax, [rbp + 0x70]
mov dword [rsp + 0x54], 0x200
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x270]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ebx, edi
mov dword [rsp + 0x50], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140014260
nop
inc ebx
cmp r14d, esi
jae 0x140014260
mov eax, r14d
lea rcx, [rsp + 0x70]
mov edx, 4
lea rdi, [r12 + rax*8]
call fcn.140013e80
movzx ecx, ax
mov edx, 4
mov dword [rdi], ecx
lea rcx, [rbp + 0x270]
call fcn.140013e80
movzx ecx, ax
lea r9, [rsp + 0x54]
mov dword [rdi + 4], ecx
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea r8, [rbp + 0x270]
mov qword [rsp + 0x38], rax
xor edi, edi
lea rax, [rbp + 0x70]
mov dword [rsp + 0x54], 0x200
mov qword [rsp + 0x30], rax
mov edx, ebx
mov qword [rsp + 0x28], rdi
inc r14d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x50], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1400141d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rdi
mov edx, r15d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x58], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140014150
mov dword [r13], r14d
mov rbx, qword [rsp + 0x7b8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x780]
mov rdi, qword [rsp + 0x7c8]
mov rsi, qword [rsp + 0x7c0]
mov rax, r12
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.140015690
add rsp, 0x788
pop r15
pop r13
pop r12
pop rbp
ret