Function at 0x45ff30
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8fb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.00402280
nop
mov ecx, dword [ebp + 8]
call fcn.00401cd0
nop
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x4d3e80
push 1
push 0
push 0x4d3e90
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x45ffd7
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x45ffcf
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401940
nop
mov eax, dword [ebp + 8]
jmp 0x460451
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x78], eax
push 0x4c3720
lea ecx, [ebp - 0x30]
call fcn.0045fc80
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
cmp dword [edx], 0
je 0x460026
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
jmp 0x46002d
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0
je 0x460070
mov ecx, dword [ebp - 0x30]
call fcn.00460e70
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x20], 0
jge 0x4600af
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x4600a7
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401940
nop
mov eax, dword [ebp + 8]
jmp 0x460451
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x460117
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x46010f
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401940
nop
mov eax, dword [ebp + 8]
jmp 0x460451
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0xa4], eax
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x38]
call fcn.0045fbd0
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x44]
cmp dword [edx], 0
je 0x46016f
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
jmp 0x460176
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x9c], eax
push 0x4c375c
lea ecx, [ebp - 0x34]
call fcn.0045fbd0
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
cmp dword [edx], 0
je 0x4601d7
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
jmp 0x4601de
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0x30
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [ebp - 0xa4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 0
je 0x46022f
mov ecx, dword [ebp - 0x34]
call fcn.00460e70
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
je 0x460248
mov ecx, dword [ebp - 0x38]
call fcn.00460e70
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x20], 0
jge 0x460295
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x46028d
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401940
nop
mov eax, dword [ebp + 8]
jmp 0x460451
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x28], 0
je 0x4603cd
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xa8], ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x24]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
push ecx
call dword [ebp - 0xa8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x54], 0
jne 0x4602df
jmp 0x4603cd
cmp dword [ebp - 0x24], 0
je 0x4603c8
mov dword [ebp - 0x2c], 0
jmp 0x4602fb
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0x14
jae 0x46039d
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xac], eax
push 0
push 0
lea ecx, [ebp - 0xc0]
push ecx
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx*4 + 0x4e72c0]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [ebp - 0xac]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x46038a
cmp dword [ebp - 0xb8], 0
je 0x46038a
push 0x4c3760
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx*4 + 0x4e72c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x46038a
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401b60
nop
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
jmp 0x4602f2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10], 0
jne 0x4603af
mov dword [ebp - 0x5c], 1
jmp 0x4603b6
mov dword [ebp - 0x5c], 0
mov dl, byte [ebp - 0x5c]
mov byte [ebp - 0x19], dl
movzx eax, byte [ebp - 0x19]
test eax, eax
jne 0x4603c6
jmp 0x4603cd
jmp 0x4603cd
jmp 0x4602a3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x24], 0
je 0x46040d
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x460430
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401940
nop
mov eax, dword [ebp + 8]
jmp 0x460451
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret