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

Disassembly:
push 0xffffffffffffffff
push 0x5f5405
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov esi, dword [eax + 0x80]
cmp dword [eax + 0x7c], esi
mov ebx, dword [0x6105e8]
lea ebp, [eax + 0x78]
mov dword [esp + 0x48], ebp
jbe 0x4eb69c
call ebx
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x4eb6a6
call ebx
push esi
push ebp
push edi
push ebp
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.004ecc80
lea ecx, [esp + 0x2c]
xor edi, edi
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.004eae10
mov dword [esp + 0xc4], edi
mov dword [esp + 0x28], edi
push str.Win32_VideoController
mov byte [esp + 0xc8], 1
call fcn.004eac50
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x20], esi
jne 0x4eb6fd
push 0x8007000e
call fcn.0042c480
lea ecx, [esp + 0x28]
push ecx
push edi
mov byte [esp + 0xcc], 2
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
push 1
push esi
push eax
call edx
mov ebx, dword [0x6107d4]
push esi
mov dword [esp + 0x20], eax
call ebx
cmp dword [esp + 0x1c], edi
mov eax, dword [esp + 0x28]
jl 0x4ebb19
cmp eax, edi
je 0x4ebb19
mov byte [esp + 0x17], 0
jmp 0x4eb748
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x20]
push edx
push 1
mov byte [esp + 0xd0], 3
mov ecx, dword [eax]
push 0x2710
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
mov ecx, dword [esp + 0x1c]
je 0x4eba75
cmp ecx, edi
je 0x4eba75
cmp eax, edi
jne 0x4eba7a
lea ecx, [esp + 0x6c]
push ecx
call fcn.004ea8d0
lea edx, [esp + 0x34]
push edx
call dword [0x6107c0]
mov dword [esp + 0x18], edi
push str.Name
mov byte [esp + 0xc8], 6
call fcn.004eac50
mov ebp, eax
add esp, 4
cmp ebp, edi
mov dword [esp + 0x20], ebp
je 0x4eb6f3
lea esi, [esp + 0x20]
lea edi, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.004eacc0
push ebp
mov byte [esp + 0xc8], 6
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push 0
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x4eb848
cmp word [esp + 0x34], 1
je 0x4eb848
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x38]
call fcn.004eb540
add esp, 4
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 8
call dword [0x61059c]
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 6
call dword [0x6105a0]
push str.PNPDeviceID
call fcn.004eac50
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x4eb6f3
lea esi, [esp + 0x20]
lea edi, [esp + 0x18]
mov byte [esp + 0xc4], 9
call fcn.004eacc0
push ebp
mov byte [esp + 0xc8], 6
call ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
push 0
push ecx
push eax
call edx
test eax, eax
jl 0x4eb8e4
cmp word [esp + 0x34], 1
je 0x4eb8e4
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
call fcn.004eb540
add esp, 4
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc8], 0xa
call dword [0x61059c]
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 6
call dword [0x6105a0]
push str.AdapterRAM
call fcn.004eac50
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x4eb6f3
lea esi, [esp + 0x20]
lea edi, [esp + 0x18]
mov byte [esp + 0xc4], 0xb
call fcn.004eacc0
push ebp
mov byte [esp + 0xc8], 6
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push 0
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x4eb957
cmp word [esp + 0x34], 1
je 0x4eb957
lea ecx, [esp + 0x34]
call fcn.004eaae0
mov dword [esp + 0xa4], eax
push str.MinRefreshRate
call fcn.004eac50
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x4eb6f3
lea esi, [esp + 0x20]
lea edi, [esp + 0x18]
mov byte [esp + 0xc4], 0xc
call fcn.004eacc0
push ebp
mov byte [esp + 0xc8], 6
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push 0
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x4eb9ca
cmp word [esp + 0x34], 1
je 0x4eb9ca
lea ecx, [esp + 0x34]
call fcn.004eaae0
mov dword [esp + 0xa8], eax
push str.MaxRefreshRate
call fcn.004eac50
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x4eb6f3
lea esi, [esp + 0x20]
lea edi, [esp + 0x18]
mov byte [esp + 0xc4], 0xd
call fcn.004eacc0
push ebp
mov byte [esp + 0xc8], 6
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push 0
push edi
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x4eba3d
cmp word [esp + 0x34], 1
je 0x4eba3d
lea ecx, [esp + 0x34]
call fcn.004eaae0
mov dword [esp + 0xac], eax
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x6c]
push ecx
call fcn.004ecb30
push edi
call ebx
lea edx, [esp + 0x34]
push edx
call dword [0x6107bc]
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xc8], 3
call fcn.00498240
mov ecx, dword [esp + 0x1c]
mov ebp, esi
xor edi, edi
jmp 0x4eba7a
mov byte [esp + 0x17], 1
cmp ecx, edi
mov byte [esp + 0xc4], 1
je 0x4eba8e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
cmp byte [esp + 0x17], 0
je 0x4eb744
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x4ebab8
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4ebae9
mov byte [esp + 0xc4], 0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4ebad0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea esi, [esp + 0x2c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004eade0
jmp 0x4ebb66
mov byte [esp + 0xc4], 0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4ebb01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x2c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004eade0
mov al, 1
jmp 0x4ebb68
cmp eax, edi
mov byte [esp + 0xc4], 0
je 0x4ebb2d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc4], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4ebb4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x4ebb60
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], edi
call dword [0x610ad4]
xor al, al
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005e693f
add esp, 0xb4
ret 4