Function at 0x45b2c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, eax
xor ebx, ebx
push edi
cmp dword [esi + 0x30], ebx
je 0x45b734
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.Select__from_Win32_VideoController
call ebp
mov esi, dword [esi + 0x30]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov edi, 0x4d0dc0
mov byte [esp + 0x20], 1
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], 1
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], 1
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], 1
mov dword [esp + 0x24], ebx
call fcn.004569e0
mov eax, dword [eax]
cmp eax, ebx
je 0x45b328
mov eax, dword [eax]
jmp 0x45b32a
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push ebx
push 0x20
push edx
push eax
mov eax, dword [ecx + 0x50]
push esi
call eax
lea edi, [esp + 0x10]
mov esi, eax
call fcn.00456a40
cmp esi, ebx
je 0x45b376
cmp byte [esp + 0x1c], bl
je 0x45b365
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45b365
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
jmp 0x45b725
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
mov byte [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push 0x1f4
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x54], ebx
je 0x45b6f8
cmp eax, 0x40004
jne 0x45b3c5
cmp byte [esp + 0x14], bl
je 0x45b376
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45b376
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45b376
cmp eax, ebx
jne 0x45b6f8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x60]
push edx
push ebx
push str.AdapterCompatibility
push eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call eax
test eax, eax
jne 0x45b6ca
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x80]
push edx
push ebx
push str.DriverVersion
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x45b66e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x90]
push edx
push ebx
push str.Description
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x45b69c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x70]
push edx
push ebx
push str.DriverDate
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jne 0x45b6ca
mov ecx, dword [esp + 0x60]
push ecx
call ebp
mov edx, dword [esp + 0x80]
mov esi, eax
push edx
mov dword [esp + 0xb0], esi
call ebp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x90]
push eax
call ebp
mov ecx, dword [esp + 0x70]
push ecx
mov dword [esp + 0xa8], eax
call ebp
mov ebp, eax
push esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0043c460
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x48]
call fcn.00401250
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x45b4eb
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x45b4e2
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45b4eb
cmp eax, ebx
jne 0x45b4eb
call fcn.0045f5a0
mov eax, dword [esp + 0xa4]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0043c460
lea ecx, [esp + 0x10]
push ecx
lea edi, [esp + 0x50]
call fcn.00401250
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x45b53b
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x45b532
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45b53b
cmp eax, ebx
jne 0x45b53b
call fcn.0045f5a0
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0043c460
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x54]
call fcn.00401250
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x45b584
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x45b57b
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45b584
cmp eax, ebx
jne 0x45b584
call fcn.0045f5a0
mov eax, dword [esp + 0x9c]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0043c460
lea ecx, [esp + 0x10]
push ecx
lea edi, [esp + 0x4c]
call fcn.00401250
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x45b5d4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x45b5cb
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45b5d4
cmp eax, ebx
jne 0x45b5d4
call fcn.0045f5a0
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.0045d240
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebp, ebx
je 0x45b5f3
push ebp
call esi
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x45b601
push eax
call esi
mov eax, dword [esp + 0x9c]
cmp eax, ebx
je 0x45b60f
push eax
call esi
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x45b61d
push eax
call esi
lea ecx, [esp + 0x44]
call fcn.00434f70
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x68]
push ecx
call esi
lea edx, [esp + 0x88]
push edx
call esi
lea eax, [esp + 0x78]
push eax
call esi
lea ecx, [esp + 0x58]
push ecx
call esi
cmp byte [esp + 0x14], bl
je 0x45b370
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45b370
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x45b370
lea ecx, [esp + 0x44]
call fcn.00434f70
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x68]
push edx
call esi
lea eax, [esp + 0x88]
push eax
call esi
lea ecx, [esp + 0x78]
push ecx
call esi
lea edx, [esp + 0x58]
push edx
jmp 0x45b6f6
lea ecx, [esp + 0x44]
call fcn.00434f70
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x68]
push eax
call esi
lea ecx, [esp + 0x88]
push ecx
call esi
lea edx, [esp + 0x78]
push edx
call esi
lea eax, [esp + 0x58]
push eax
jmp 0x45b6f6
lea ecx, [esp + 0x44]
call fcn.00434f70
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x68]
push ecx
call esi
lea edx, [esp + 0x88]
push edx
call esi
lea eax, [esp + 0x78]
push eax
call esi
lea ecx, [esp + 0x58]
push ecx
call esi
lea esi, [esp + 0x14]
call fcn.0045d220
lea esi, [esp + 0x3c]
call fcn.0045d220
lea esi, [esp + 0x34]
call fcn.0045d220
lea esi, [esp + 0x2c]
call fcn.0045d220
lea esi, [esp + 0x1c]
call fcn.0045d200
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x45b734
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xa0
ret 4