Function at 0x485514
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x45
push 0
push 0
dec ecx
jne 0x48551c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x48599e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48564b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc0]
xor ecx, ecx
mov edx, 0xa8
call fcn.00403104
mov dword [ebp - 0xc0], 0xa8
jmp 0x485625
xor eax, eax
push ebp
push 0x485610
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0xa8
call fcn.00403104
mov dword [ebp - 0x168], 0xa8
jmp 0x4855e9
xor eax, eax
push ebp
push 0x4855d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc4]
and eax, 1
cmp eax, 1
jne 0x4855ca
add dword [ebp - 0x10], 1
jno 0x4855ca
call fcn.00403660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4855de
add dword [ebp - 0xc], 1
jno 0x4855e9
call fcn.00403660
push 0
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xbc]
push eax
call sub.user32.dll_EnumDisplayDevicesA
test eax, eax
jne 0x4855a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48561a
add dword [ebp - 8], 1
jno 0x485625
call fcn.00403660
push 0
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.user32.dll_EnumDisplayDevicesA
test eax, eax
jne 0x485572
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485655
cmp dword [ebp - 0x10], 1
jle 0x48568c
lea edx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x10]
call fcn.00408eb0
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1ac]
mov edx, 0x4859bc
call fcn.004048b0
mov eax, dword [ebp - 0x1ac]
xor edx, edx
call fcn.0047ddd8
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [0x48afe8], 1
jbe 0x4858aa
cmp dword [0x48afec], 1
jae 0x4858aa
xor eax, eax
push ebp
push 0x4858a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1b4]
mov eax, 0x4859e8
call fcn.00461b8c
mov edx, dword [ebp - 0x1b4]
lea eax, [ebp - 0x178]
call fcn.004152c0
push 0
push 0
push 0
push 0x485a0c
push 0x485a10
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.00410b5c
add esp, 0x1c
lea edx, [ebp - 0x1c4]
lea eax, [ebp - 0x188]
call fcn.004153a8
push 0x485a30
push 0x485a50
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.00410b5c
add esp, 0x10
lea edx, [ebp - 0x1d4]
lea eax, [ebp - 0x198]
call fcn.004153a8
push 0x485a60
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00410b5c
add esp, 0xc
lea edx, [ebp - 0x1e8]
lea eax, [ebp - 0x1d8]
call fcn.00414e84
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x14]
mov ecx, 0x485a6c
call fcn.00406234
jmp 0x485878
xor eax, eax
push ebp
push 0x485863
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a8]
call fcn.004166a8
test al, al
jne 0x485859
push 0x485a7c
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.00410b5c
add esp, 0xc
lea eax, [ebp - 0x1f8]
call fcn.004166a8
test al, al
jne 0x485859
push 0x485a84
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00410b5c
add esp, 0xc
lea eax, [ebp - 0x208]
call fcn.004166a8
test al, al
jne 0x485859
push 0x485a84
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00410b5c
add esp, 0xc
lea edx, [ebp - 0x220]
lea eax, [ebp - 0x210]
call fcn.00414198
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00408878
mov eax, dword [ebp - 0x20c]
mov edx, 0x485a98
call fcn.004049b0
jne 0x485859
add dword [ebp - 8], 1
jno 0x485859
call fcn.00403660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48586d
lea eax, [ebp - 0x1a8]
call fcn.00410b40
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x485786
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4858aa
cmp dword [ebp - 8], 1
jle 0x4858e1
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00408eb0
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x224]
mov edx, 0x485aa8
call fcn.004048b0
mov eax, dword [ebp - 0x224]
xor edx, edx
call fcn.0047ddd8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jle 0x4858ef
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4859a8
lea eax, [ebp - 0x228]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x220]
call fcn.00410b54
lea eax, [ebp - 0x210]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x208]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.004050a4
lea eax, [ebp - 0x1d8]
call fcn.004061f0
lea eax, [ebp - 0x1d4]
mov edx, dword [0x4010b0]
mov ecx, 2
call fcn.004050a4
lea eax, [ebp - 0x1b4]
call fcn.004061f0
lea eax, [ebp - 0x1b0]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x1a8]
mov edx, dword [0x4010c0]
mov ecx, 4
call fcn.004050a4
lea eax, [ebp - 0x14]
call fcn.004061f0
ret