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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e8
mov eax, dword [0x1002300c]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.SYSTEMCurrentControlSetEnumPCI]
mov eax, dword [0x1001d430]
push ebx
movups xmmword [ebp - 0x48], xmm0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movups xmm0, xmmword [0x1001d400]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x8b0]
push eax
movups xmmword [ebp - 0x38], xmm0
push 0x20019
movups xmm0, xmmword [0x1001d410]
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8b0], 0
movups xmmword [ebp - 0x28], xmm0
push eax
movups xmm0, xmmword [0x1001d420]
push 0x80000002
mov dword [ebp - 0x8ac], 0
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x8a4], 0
movups xmm0, xmmword [str.SYSTEMCurrentControlSetControlVideo_]
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 0x8b8], 0
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 0x8b4], 0
movups xmm0, xmmword [0x1001d450]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x1001d460]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [0x1001d470]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [0x1001d480]
movups xmmword [ebp - 0x58], xmm0
call ebx
test eax, eax
je 0x10014574
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e271
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea eax, [ebp - 0x8c0]
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x8b0]
mov dword [ebp - 0x8c0], 0
call edi
test eax, eax
jne 0x100148df
xor ecx, ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x8c4], ecx
cmp dword [ebp - 0x8c0], ecx
jbe 0x100148cd
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8c8]
mov dword [ebp - 0x8c8], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push ecx
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100148b4
lea eax, [ebp - 0x8ac]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x8b0]
call ebx
test eax, eax
jne 0x100148b4
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x8bc], eax
lea eax, [ebp - 0x8bc]
push eax
push 0
push 0
push 0
push dword [ebp - 0x8ac]
call edi
test eax, eax
jne 0x100148b4
xor edi, edi
cmp dword [ebp - 0x8bc], edi
jbe 0x1001489d
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x8cc], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push edi
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10014890
lea eax, [ebp - 0x8a4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x8ac]
call ebx
test eax, eax
jne 0x10014890
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x8d0], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push 0
push str.Class
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10014888
lea eax, [ebp - 0x298]
mov ecx, str.Display
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10014726
test dx, dx
je 0x10014722
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10014726
add ecx, 4
add eax, 4
test dx, dx
jne 0x10014700
xor eax, eax
jmp 0x1001472b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10014888
lea eax, [ebp - 0x8a8]
push eax
push 0x20019
push 0
push str.Control
push dword [ebp - 0x8a4]
call ebx
test eax, eax
jne 0x10014888
push dword [ebp - 0x8a8]
call esi
lea eax, [ebp - 0x8a8]
push eax
push 0x20019
push 0
push str.Device_Parameters
push dword [ebp - 0x8a4]
call ebx
test eax, eax
jne 0x10014888
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push 0
push str.VideoID
push dword [ebp - 0x8a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001486d
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8a0]
push 0x50
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x8a0]
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.0000
lea eax, [ebp - 0x8a0]
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x24
lea eax, [ebp - 0x8b8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x8a0]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x10014865
lea eax, [ebp - 0x8d8]
mov dword [ebp - 0x8d8], 0x100
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0
push 0
push str.DriverVersion
push dword [ebp - 0x8b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x8b4]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x8b4], ecx
push dword [ebp - 0x8b8]
call esi
push dword [ebp - 0x8a8]
call esi
push dword [ebp - 0x8a4]
call esi
cmp byte [ebp - 0x8b4], 0
jne 0x1001489d
jmp 0x10014890
push dword [ebp - 0x8a4]
call esi
inc edi
cmp edi, dword [ebp - 0x8bc]
jb 0x10014662
push dword [ebp - 0x8ac]
call esi
cmp byte [ebp - 0x8b4], 0
jne 0x100148cd
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [ebp - 0x8c4]
inc ecx
mov dword [ebp - 0x8c4], ecx
cmp ecx, dword [ebp - 0x8c0]
jb 0x100145d0
push dword [ebp - 0x8b0]
call esi
cmp byte [ebp - 0x8b4], 0
pop esi
jne 0x100148f3
pop edi
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e271
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x8e8]
push eax
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8dc]
push eax
lea eax, [ebp - 0x4a0]
push str._d._d._d._d
push eax
call fcn.1000da60
mov eax, dword [ebp - 0x8dc]
xor edx, edx
mov ecx, dword [ebp - 4]
add esp, 0x18
shld edx, eax, 0x10
xor ecx, ebp
shl eax, 0x10
or eax, dword [ebp - 0x8e0]
shld edx, eax, 0x10
pop edi
shl eax, 0x10
or eax, dword [ebp - 0x8e4]
shld edx, eax, 0x10
pop ebx
shl eax, 0x10
or eax, dword [ebp - 0x8e8]
call fcn.1000e271
mov esp, ebp
pop ebp
ret