Function at 0x4516c0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56575b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x639ac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
mov dword [ebp - 0x14], 0
call fcn.004f69f2
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 4], 0
test edi, edi
je 0x451730
push 0x5c4610
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call esi
mov dword [edi], eax
test eax, eax
je 0x451989
jmp 0x451732
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], edi
test edi, edi
je 0x451993
push 0xc
mov dword [ebp - 4], 1
call fcn.004f69f2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x451783
push str.SELECT__FROM_Win32_ParallelPort
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call esi
mov dword [ebx], eax
test eax, eax
je 0x45199d
jmp 0x451785
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x4519a7
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 4
call fcn.00455b90
test al, al
je 0x4517c6
push str.WMI:_Get_PP
call fcn.00455a00
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0
push 0x20
push dword [ebx]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x451801
call fcn.00455b90
test al, al
je 0x4517f5
push str.WMI:_Get_WMI_info_failed__1_
call fcn.00455a00
add esp, 4
mov dword [ebp + 8], 0
jmp 0x4518df
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x10]
xor esi, esi
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
mov dword [ebp - 0x1c], esi
call dword [ecx + 0x10]
test eax, eax
js 0x4518cf
mov eax, dword [ebp + 0xc]
add eax, 0x4137c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x18], 0
je 0x4518cf
cmp esi, 0xa
jge 0x4518cf
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Caption
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45189e
cmp word [ebp - 0x34], 8
jne 0x45189e
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x451983
push dword [ebp + 8]
call fcn.00453c30
add esp, 0x14
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
add dword [ebp + 8], 0x32
inc esi
push edx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x451831
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp + 8], 1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 8], eax
dec eax
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x451933
mov eax, dword [ebx]
test eax, eax
je 0x45190b
push eax
call ecx
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x451922
push eax
call fcn.004f69ed
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.004f6a22
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
lock xadd dword [edi + 8], esi
dec esi
jne 0x45196c
mov eax, dword [edi]
test eax, eax
je 0x45194a
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x451961
push eax
call fcn.004f69ed
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004f6a22
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
int3