Function at 0x426fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c0
mov eax, dword [0x4bf370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x704]
mov edi, ecx
push 0
push eax
call fcn.00440690
push 0x1a4
lea eax, [ebp - 0x8a8]
push 0
push eax
call fcn.00440690
mov ebx, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x8ac]
add esp, 0x18
mov dword [ebp - 0x8ac], 0x1a8
xor esi, esi
push esi
push eax
push esi
push esi
call ebx
test eax, eax
je 0x427066
test byte [ebp - 0x808], 4
je 0x427053
push 0x200
lea eax, [ebp - 0x504]
push 0
push eax
call fcn.00440690
push 0x1ff
lea eax, [ebp - 0x784]
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.0044a8a0
lea eax, [ebp - 0x504]
push 0x47ca20
push eax
call fcn.0043fe20
add esp, 0x20
test eax, eax
jne 0x4271b9
push 0
lea eax, [ebp - 0x8ac]
inc esi
push eax
push esi
push 0
call ebx
test eax, eax
jne 0x427003
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00440690
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push str.SYSTEMControlSet001ControlClass4D36E968_E325_11CE_BFC1_08002BE10318000_d
push eax
mov dword [ebp - 0x8b4], ebx
call fcn.00406660
add esp, 0x18
nop dword [eax]
lea eax, [ebp - 0x8b4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x204]
push eax
push closesocket
call esi
test eax, eax
jne 0x42717b
push 0x100
push eax
lea eax, [ebp - 0x304]
mov dword [ebp - 0x8b0], 0x100
push eax
call fcn.00440690
add esp, 0xc
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x304]
push eax
push 0
push 0
push str.MatchingDeviceId
push dword [ebp - 0x8b4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42717b
mov eax, dword [ebp - 0x2fc]
mov ecx, eax
mov esi, dword [ebp - 0x2f3]
shr ecx, 0x18
push ecx
mov ecx, eax
mov dword [ebp - 0x8c0], esi
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
call fcn.0041d2c0
push dword [ebp - 0x8bd]
mov dword [ebp - 0x8b8], eax
push dword [ebp - 0x8be]
push dword [ebp - 0x8bf]
push esi
call fcn.0041d2c0
add esp, 0x20
mov ecx, edi
mov esi, eax
call fcn.00413960
cmp eax, esi
jne 0x427175
mov ecx, edi
call fcn.004139a0
cmp eax, dword [ebp - 0x8b8]
je 0x4276e8
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push dword [ebp - 0x8b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
lea eax, [ebp - 0x204]
push ebx
push str.SYSTEMControlSet001ControlClass4D36E968_E325_11CE_BFC1_08002BE10318000_d
push eax
call fcn.00406660
add esp, 0xc
cmp ebx, 4
jl 0x4270a0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ef0f
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x704]
push 0x49efac
push eax
call fcn.00406660
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x8b4]
add esp, 0xc
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0x100
push eax
push 0x20019
push 0
lea eax, [ebp - 0x704]
push eax
push closesocket
call esi
test eax, eax
jne 0x42706c
push 0x100
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00440690
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x8b0]
add esp, 0xc
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push 0x47cc60
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427265
push 0xff
lea eax, [ebp - 0x204]
push eax
lea eax, [edi + 0x63c]
push eax
call fcn.0044a8a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.Device_Description
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4272c3
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0x53c]
push eax
call fcn.0044a8a0
add esp, 0xc
cmp dword [edi + 0x38], 2
jne 0x427389
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.Catalyst_Version
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x42732b
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0xb3c]
push eax
call fcn.0044a8a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.ReleaseVersion
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427389
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0xc3c]
push eax
call fcn.0044a8a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.AdapterString
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4273fa
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4273fa
lea ecx, [edi + 0x73c]
nop dword [eax]
cmp eax, 0xff
jae 0x4273fa
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x4273f5
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x4273e0
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.BiosString
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x42746a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42746a
lea ecx, [edi + 0x83c]
nop dword [eax]
cmp eax, 0xff
jae 0x42746a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427465
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427450
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.ChipType
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4274da
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4274da
lea ecx, [edi + 0x93c]
nop dword [eax]
cmp eax, 0xff
jae 0x4274da
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x4274d5
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x4274c0
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.DacType
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x42754a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42754a
lea ecx, [edi + 0xa3c]
nop dword [eax]
cmp eax, 0xff
jae 0x42754a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427545
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427530
lea eax, [ebp - 0x8b0]
mov dword [ebp - 0x8b8], 0
push eax
lea eax, [ebp - 0x8b8]
mov dword [ebp - 0x8b0], 4
push eax
push 0
push 0
push str.HardwareInformation.MemorySize
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427589
mov eax, dword [ebp - 0x8b8]
jmp 0x4275c7
lea eax, [ebp - 0x8b0]
mov dword [ebp - 0x8b0], 8
push eax
lea eax, [ebp - 0x8c0]
xorps xmm0, xmm0
push eax
push 0
push 0
push str.HardwareInformation.MemorySize
push dword [ebp - 0x8b4]
movlpd qword [ebp - 0x8c0], xmm0
call ebx
test eax, eax
jne 0x4275cd
mov eax, dword [ebp - 0x8c0]
mov dword [edi + 0xecc], eax
lea eax, [ebp - 0x8b0]
mov dword [ebp - 0x8b0], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.DriverVersion
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427621
push 0x100
push eax
lea esi, [edi + 0x23c]
push esi
call fcn.00440690
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a8a0
add esp, 0x18
lea eax, [ebp - 0x8b0]
mov dword [ebp - 0x8b0], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.DriverDesc
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427675
push 0x100
push eax
lea esi, [edi + 0x33c]
push esi
call fcn.00440690
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a8a0
add esp, 0x18
lea eax, [ebp - 0x8b0]
mov dword [ebp - 0x8b0], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.DriverDate
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4276c9
push 0x100
push eax
lea esi, [edi + 0x43c]
push esi
call fcn.00440690
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a8a0
add esp, 0x18
push dword [ebp - 0x8b4]
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.0043ef0f
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00440690
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x8b0]
add esp, 0xc
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push 0x47cc60
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427742
push 0xff
lea eax, [ebp - 0x404]
push eax
lea eax, [edi + 0x63c]
push eax
call fcn.0044a8a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.Device_Description
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4277a0
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0x53c]
push eax
call fcn.0044a8a0
add esp, 0xc
cmp dword [edi + 0x38], 2
jne 0x427866
push 0x100
lea eax, [ebp - 0x104]
mov dword [ebp - 0x8b0], 0x100
push 0
push eax
call fcn.00440690
add esp, 0xc
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.Catalyst_Version
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427808
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0xb3c]
push eax
call fcn.0044a8a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.ReleaseVersion
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427866
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0xc3c]
push eax
call fcn.0044a8a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.AdapterString
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4278da
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4278da
lea ecx, [edi + 0x73c]
nop dword [eax]
cmp eax, 0xff
jae 0x4278da
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x4278d5
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x4278c0
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.BiosString
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x42794a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42794a
lea ecx, [edi + 0x83c]
nop dword [eax]
cmp eax, 0xff
jae 0x42794a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427945
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427930
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.ChipType
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x4279ba
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4279ba
lea ecx, [edi + 0x93c]
nop dword [eax]
cmp eax, 0xff
jae 0x4279ba
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x4279b5
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x4279a0
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x8b0], 0x100
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push str.HardwareInformation.DacType
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x42754a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42754a
lea ecx, [edi + 0xa3c]
cmp eax, 0xff
jae 0x42754a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427a2e
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427a15
jmp 0x42754a