Function at 0x495700
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x60c290
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x495989
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x20]
call fcn.004337a0
cmp byte [esi + 0xd], 0
mov dword [esp + 0x30], 0
je 0x495755
mov ecx, esi
call fcn.00495330
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x14], 0
je 0x495978
lea ebp, [esi + 0x10]
push ebp
push 0x6bf1b8
push 1
push 0
push 0x6bf288
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4957d5
call fcn.004895c0
test al, al
jne 0x495978
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x495978
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edi
push str.Open_query_failed__code__d
push 0x58
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzWmiQuery.cpp
push 1
push eax
call edx
add esp, 0x18
jmp 0x495978
push 0x6971a4
lea ecx, [esp + 0x18]
call fcn.00405b60
mov eax, dword [eax]
mov byte [esp + 0x30], 1
test eax, eax
je 0x4957f2
mov ecx, dword [eax]
jmp 0x4957f4
xor ecx, ecx
mov eax, dword [ebp]
mov edx, dword [eax]
lea ebx, [esi + 0x14]
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x14]
mov edi, eax
mov byte [esp + 0x30], 0
call fcn.00405c00
test edi, edi
jge 0x495878
call fcn.004895c0
test al, al
jne 0x495867
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x495867
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edi
push str.Open_query_failed__code__d
push 0x6a
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzWmiQuery.cpp
push 1
push eax
call edx
add esp, 0x18
mov ebp, dword [ebp]
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
jmp 0x495978
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], 0x10
jb 0x495887
mov eax, dword [eax + 4]
jmp 0x49588a
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.004951d0
mov edi, eax
push 0x6971a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 2
call fcn.004951d0
mov ecx, dword [edi]
mov byte [esp + 0x30], 3
test ecx, ecx
je 0x4958b8
mov edx, dword [ecx]
jmp 0x4958ba
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x4958c4
mov ecx, dword [eax]
jmp 0x4958c6
xor ecx, ecx
mov eax, dword [ebx]
mov edi, dword [eax]
lea ebp, [esi + 0x18]
push ebp
push 0
push 0x30
push edx
mov edx, dword [edi + 0x50]
push ecx
push eax
call edx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00405c00
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00405c00
test edi, edi
jl 0x49591d
cmp dword [ebp], 0
je 0x49591d
lea ecx, [esp + 0x1c]
mov dword [esi + 0x1c], 0
mov byte [esi + 0xd], 1
mov dword [esp + 0x30], 0xffffffff
call fcn.00433800
mov al, 1
jmp 0x49598b
call fcn.004895c0
test al, al
jne 0x495960
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x495960
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edi
push str.Open_query_failed__code__d
push 0x78
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzWmiQuery.cpp
push 1
push eax
call edx
add esp, 0x18
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.00433800
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4