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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x1003ccc8]
xor eax, ebp
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c8], ecx
lea ecx, [ebp - 0x34]
call fcn.10001550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push 0x10035148
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10007968
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001410
jmp 0x10007d50
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetEnum
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100079a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001410
jmp 0x10007d50
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
jmp 0x100079c7
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x28], 0x200
xor eax, eax
mov word [ebp - 0x43c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x43a]
push ecx
call fcn.1001b720
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x103
jne 0x10007a27
jmp 0x10007d41
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10007a6a
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001410
jmp 0x10007d50
mov dword [ebp - 0x28], 0x200
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.Group
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jne 0x10007aa9
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100079be
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8d0], str.Video
mov ecx, dword [ebp - 0x8d0]
mov dx, word [ecx]
mov word [ebp - 0x8d2], dx
mov eax, dword [ebp - 0x8cc]
cmp dx, word [eax]
jne 0x10007b25
cmp word [ebp - 0x8d2], 0
je 0x10007b19
mov ecx, dword [ebp - 0x8d0]
mov dx, word [ecx + 2]
mov word [ebp - 0x8d4], dx
mov eax, dword [ebp - 0x8cc]
cmp dx, word [eax + 2]
jne 0x10007b25
add dword [ebp - 0x8d0], 4
add dword [ebp - 0x8cc], 4
cmp word [ebp - 0x8d4], 0
jne 0x10007abf
mov dword [ebp - 0x8d8], 0
jmp 0x10007b30
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x8d8], ecx
mov edx, dword [ebp - 0x8d8]
mov dword [ebp - 0x8dc], edx
cmp dword [ebp - 0x8dc], 0
je 0x10007b54
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100079be
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push str.Enum
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.Count
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [ebp - 0x440], 0
jmp 0x10007bcb
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
cmp eax, dword [ebp - 0x10]
jge 0x10007d29
xor ecx, ecx
mov word [ebp - 0x8c4], cx
push 0x3fe
push 0
lea edx, [ebp - 0x8c2]
push edx
call fcn.1001b720
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4c4], ax
push 0x7e
push 0
lea ecx, [ebp - 0x4c2]
push ecx
call fcn.1001b720
add esp, 0xc
mov edx, dword [ebp - 0x440]
push edx
push 0x100351f8
lea eax, [ebp - 0x4c4]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x28], 0x400
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x8c4]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x4c4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x8c4]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
xor eax, eax
je 0x10007c9e
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001410
jmp 0x10007d50
mov dword [ebp - 0x28], 0x400
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.FriendlyName
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jne 0x10007d13
mov dword [ebp - 0x28], 0x400
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x8c4]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.DeviceDesc
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x8c4]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10005fc0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100096f0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
jmp 0x10007bbc
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
jmp 0x10007d41
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.10018f71
mov esp, ebp
pop ebp
ret 8