Function at 0x427b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c4
mov eax, dword [0x4bf3ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x504]
mov ebx, ecx
push 0
push eax
call fcn.00440700
push 0x1a4
lea eax, [ebp - 0x6a8]
push 0
push eax
call fcn.00440700
mov edi, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x6ac]
add esp, 0x18
mov dword [ebp - 0x6ac], 0x1a8
xor esi, esi
push esi
push eax
push esi
push esi
call edi
test eax, eax
je 0x427be6
test byte [ebp - 0x608], 4
je 0x427bd3
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.00440700
push 0x1ff
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.0044a910
lea eax, [ebp - 0x304]
push 0x47ca50
push eax
call fcn.0043fe90
add esp, 0x20
test eax, eax
jne 0x42810e
push 0
lea eax, [ebp - 0x6ac]
inc esi
push eax
push esi
push 0
call edi
test eax, eax
jne 0x427b83
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6bc], 0
push eax
push 0x20019
push 0
push str.HARDWAREDEVICEMAPVIDEO
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x427d49
push 0x200
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b0], 0x200
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x6c4]
push eax
push 0
push str.DeviceVideo0
push dword [ebp - 0x6bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427d3d
lea eax, [ebp - 0x304]
push 0x47ca84
push eax
call fcn.0043fe90
add esp, 8
test eax, eax
je 0x428128
lea eax, [ebp - 0x304]
push 0x47ca88
push eax
call fcn.0043fe90
add esp, 8
test eax, eax
je 0x428128
push 0x100
xor edi, edi
lea eax, [ebp - 0x104]
push edi
push eax
xor esi, esi
call fcn.00440700
add esp, 0xc
cmp byte [ebp - 0x304], 0x7b
je 0x427cd7
nop
inc esi
cmp esi, 0x200
jge 0x428128
cmp byte [ebp + esi - 0x304], 0x7b
jne 0x427cc0
inc esi
cmp byte [ebp + esi - 0x304], 0x7d
je 0x427d22
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + esi - 0x304]
inc esi
mov byte [ebp + edi - 0x104], al
inc edi
cmp esi, 0x200
jge 0x428128
cmp edi, 0x100
jge 0x428128
cmp byte [ebp + esi - 0x304], 0x7d
jne 0x427cf0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push str.SYSTEMControlSet001ControlVideo_s0000
push eax
call fcn.00406660
add esp, 0xc
push dword [ebp - 0x6bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x504]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427d52
sub ecx, edx
je 0x42813b
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0x6b0], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x504]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42813b
push 0x100
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x6b8], 0x100
push eax
call fcn.00440700
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x6b8]
add esp, 0xc
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x6c4]
push eax
push 0
push str.Device_Description
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x427dfb
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x53c]
push eax
call fcn.0044a910
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b8], 0x100
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.Catalyst_Version
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x427e59
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0xb3c]
push eax
call fcn.0044a910
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b8], 0x100
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.ReleaseVersion
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x427eb7
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0xc3c]
push eax
call fcn.0044a910
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b8], 0x100
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.AdapterString
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x427f2a
mov edi, dword [ebp - 0x6b8]
test edi, edi
je 0x427f2a
lea ecx, [ebx + 0x73c]
nop word [eax + eax]
cmp eax, 0xff
jae 0x427f2a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427f25
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, edi
jb 0x427f10
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b8], 0x100
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.BiosString
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x427f9a
mov edi, dword [ebp - 0x6b8]
test edi, edi
je 0x427f9a
lea ecx, [ebx + 0x83c]
nop dword [eax]
cmp eax, 0xff
jae 0x427f9a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427f95
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, edi
jb 0x427f80
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b8], 0x100
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.ChipType
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x42800a
mov edi, dword [ebp - 0x6b8]
test edi, edi
je 0x42800a
lea ecx, [ebx + 0x93c]
nop dword [eax]
cmp eax, 0xff
jae 0x42800a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x428005
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, edi
jb 0x427ff0
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x6b8], 0x100
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.DacType
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x42807a
mov edi, dword [ebp - 0x6b8]
test edi, edi
je 0x42807a
lea ecx, [ebx + 0xa3c]
nop dword [eax]
cmp eax, 0xff
jae 0x42807a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x428075
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, edi
jb 0x428060
lea eax, [ebp - 0x6b8]
mov dword [ebp - 0x6bc], 0
push eax
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6b8], 4
push eax
push 0
push 0
push str.HardwareInformation.MemorySize
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x4280bd
mov eax, dword [ebp - 0x6bc]
mov dword [ebx + 0xecc], eax
lea eax, [ebp - 0x6b8]
mov dword [ebp - 0x6bc], 0
push eax
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6b8], 4
push eax
push 0
push 0
push str.OGL_DefaultSwapInterval
push dword [ebp - 0x6b0]
call esi
test eax, eax
jne 0x428100
mov eax, dword [ebp - 0x6bc]
mov dword [ebx + 0xec8], eax
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x428141
push eax
lea eax, [ebp - 0x504]
push 0x49f01c
push eax
call fcn.00406660
add esp, 0xc
jmp 0x427d49
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ef85
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x200
lea eax, [ebp - 0x504]
mov dword [ebp - 0x6c0], 0
push 0
push eax
mov edi, 1
call fcn.00440700
lea eax, [ebp - 0x504]
push str.SYSTEMControlSet001ControlClass4D36E968_E325_11CE_BFC1_08002BE103180000
push eax
call fcn.00406660
add esp, 0x14
nop word [eax + eax]
lea eax, [ebp - 0x6c0]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x504]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x428251
push 0x100
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x6b0], 0x100
push eax
call fcn.00440700
add esp, 0xc
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.MatchingDeviceId
push dword [ebp - 0x6c0]
call esi
test eax, eax
jne 0x428251
mov eax, dword [ebp - 0xfc]
mov ecx, eax
mov esi, dword [ebp - 0xf3]
shr ecx, 0x18
push ecx
mov ecx, eax
mov dword [ebp - 0x6b8], esi
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
call fcn.0041d390
push dword [ebp - 0x6b5]
mov dword [ebp - 0x6bc], eax
push dword [ebp - 0x6b6]
push dword [ebp - 0x6b7]
push esi
call fcn.0041d390
add esp, 0x20
mov ecx, ebx
mov esi, eax
call fcn.00413aa0
cmp eax, esi
jne 0x428251
mov ecx, ebx
call fcn.00413ae0
cmp eax, dword [ebp - 0x6bc]
je 0x42827b
push edi
lea eax, [ebp - 0x504]
push str.SYSTEMControlSet001ControlClass4D36E968_E325_11CE_BFC1_08002BE10318000_d
push eax
call fcn.00406660
inc edi
add esp, 0xc
cmp edi, 5
jge 0x428385
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x428180
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x6b0], 0x100
push eax
push 0
push 0
push str.DriverVersion
push dword [ebp - 0x6c0]
call esi
lea edi, [ebx + 0x23c]
test eax, eax
jne 0x4282d5
push 0x100
push eax
push edi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.0044a910
add esp, 0x18
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0x6b0], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.DriverDesc
push dword [ebp - 0x6c0]
call esi
test eax, eax
jne 0x42832f
push 0x100
push eax
lea esi, [ebx + 0x33c]
push esi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a910
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x18
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0x6b0], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.DriverDate
push dword [ebp - 0x6c0]
call esi
test eax, eax
jne 0x42838b
push 0x100
push eax
lea esi, [ebx + 0x43c]
push esi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a910
add esp, 0x18
jmp 0x42838b
lea edi, [ebx + 0x23c]
push 0x100
lea eax, [ebp - 0x104]
mov dword [ebp - 0x6bc], 0x100
push 0
push eax
call fcn.00440700
add esp, 0xc
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.DriverVersion
push dword [ebp - 0x6c0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4283f3
push 0x100
push eax
push edi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.0044a910
add esp, 0x18
push dword [ebp - 0x6c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ef85
mov esp, ebp
pop ebp
ret