Function at 0x427080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c0
mov eax, dword [0x4bf3ec]
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.00440700
push 0x1a4
lea eax, [ebp - 0x8a8]
push 0
push eax
call fcn.00440700
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 0x427146
test byte [ebp - 0x808], 4
je 0x427133
push 0x200
lea eax, [ebp - 0x504]
push 0
push eax
call fcn.00440700
push 0x1ff
lea eax, [ebp - 0x784]
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.0044a910
lea eax, [ebp - 0x504]
push 0x47ca50
push eax
call fcn.0043fe90
add esp, 0x20
test eax, eax
jne 0x427299
push 0
lea eax, [ebp - 0x8ac]
inc esi
push eax
push esi
push 0
call ebx
test eax, eax
jne 0x4270e3
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00440700
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 0x42725b
push 0x100
push eax
lea eax, [ebp - 0x304]
mov dword [ebp - 0x8b0], 0x100
push eax
call fcn.00440700
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 0x42725b
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.0041d390
push dword [ebp - 0x8bd]
mov dword [ebp - 0x8b8], eax
push dword [ebp - 0x8be]
push dword [ebp - 0x8bf]
push esi
call fcn.0041d390
add esp, 0x20
mov ecx, edi
mov esi, eax
call fcn.00413aa0
cmp eax, esi
jne 0x427255
mov ecx, edi
call fcn.00413ae0
cmp eax, dword [ebp - 0x8b8]
je 0x4277c8
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 0x427180
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
push eax
lea eax, [ebp - 0x704]
push 0x49f01c
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 0x42714c
push 0x100
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00440700
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 0x47cc90
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427345
push 0xff
lea eax, [ebp - 0x204]
push eax
lea eax, [edi + 0x63c]
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 - 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 0x4273a3
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0x53c]
push eax
call fcn.0044a910
add esp, 0xc
cmp dword [edi + 0x38], 2
jne 0x427469
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
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 0x42740b
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 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 - 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 0x427469
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 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 - 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 0x4274da
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4274da
lea ecx, [edi + 0x73c]
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.00440700
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 0x42754a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42754a
lea ecx, [edi + 0x83c]
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
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
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 0x4275ba
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4275ba
lea ecx, [edi + 0x93c]
nop dword [eax]
cmp eax, 0xff
jae 0x4275ba
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x4275b5
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x4275a0
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
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 0x42762a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42762a
lea ecx, [edi + 0xa3c]
nop dword [eax]
cmp eax, 0xff
jae 0x42762a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427625
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427610
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 0x427669
mov eax, dword [ebp - 0x8b8]
jmp 0x4276a7
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 0x4276ad
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 0x427701
push 0x100
push eax
lea esi, [edi + 0x23c]
push esi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a910
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 0x427755
push 0x100
push eax
lea esi, [edi + 0x33c]
push esi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a910
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 0x4277a9
push 0x100
push eax
lea esi, [edi + 0x43c]
push esi
call fcn.00440700
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0044a910
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.0043ef85
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00440700
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 0x47cc90
push dword [ebp - 0x8b4]
call ebx
test eax, eax
jne 0x427822
push 0xff
lea eax, [ebp - 0x404]
push eax
lea eax, [edi + 0x63c]
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 - 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 0x427880
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 0x53c]
push eax
call fcn.0044a910
add esp, 0xc
cmp dword [edi + 0x38], 2
jne 0x427946
push 0x100
lea eax, [ebp - 0x104]
mov dword [ebp - 0x8b0], 0x100
push 0
push eax
call fcn.00440700
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 0x4278e8
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 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 - 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 0x427946
push 0xff
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 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 - 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 0x4279ba
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x4279ba
lea ecx, [edi + 0x73c]
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.00440700
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 0x427a2a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x427a2a
lea ecx, [edi + 0x83c]
nop dword [eax]
cmp eax, 0xff
jae 0x427a2a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427a25
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427a10
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
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 0x427a9a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x427a9a
lea ecx, [edi + 0x93c]
nop dword [eax]
cmp eax, 0xff
jae 0x427a9a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427a95
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427a80
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00440700
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 0x42762a
mov esi, dword [ebp - 0x8b0]
test esi, esi
je 0x42762a
lea ecx, [edi + 0xa3c]
cmp eax, 0xff
jae 0x42762a
mov dl, byte [ebp + eax - 0x104]
test dl, dl
je 0x427b0e
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jb 0x427af5
jmp 0x42762a