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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b4d7
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x104], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x80010106
jne 0x4f13e6
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x4f140e
mov ecx, dword [ebp + 8]
call fcn.0040e585
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 8]
jmp 0x4f18a7
push dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0xc0]
call fcn.004f1b87
and dword [ebp - 4], 0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x4f1484
cmp dword [ebp - 0x118], 0x80010119
je 0x4f1484
mov ecx, dword [ebp + 8]
call fcn.0040e585
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004f1246
mov eax, dword [ebp + 8]
jmp 0x4f18a7
lea eax, [ebp - 0x134]
push eax
push 0x5848ac
push 1
push 0
push 0x58489c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4f14d1
mov ecx, dword [ebp + 8]
call fcn.0040e585
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004f1246
mov eax, dword [ebp + 8]
jmp 0x4f18a7
push dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
call fcn.00405ab3
mov byte [ebp - 4], 1
push 5
pop ecx
mov esi, str.ROOTCIMV2
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x10c]
call fcn.00407d38
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x11c]
call dword [ebp - 0x138]
test eax, eax
jge 0x4f157b
mov ecx, dword [ebp + 8]
call fcn.0040e585
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.004f1d51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004f1246
mov eax, dword [ebp + 8]
jmp 0x4f18a7
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x108]
call fcn.00405ab3
mov byte [ebp - 4], 2
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
lea ecx, [ebp - 0x108]
call fcn.00407d38
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x4f1600
mov ecx, dword [ebp + 8]
call fcn.0040e585
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.004f1d51
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.004f1d51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004f1246
mov eax, dword [ebp + 8]
jmp 0x4f18a7
mov eax, dword [0x582f48]
mov ecx, dword [0x582f4c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
push 0x13
pop ecx
mov esi, str.SELECT_Name_FROM_Win32_OperatingSystem
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x108]
call fcn.00407d38
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x144]
push eax
push 0
push 0x30
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call dword [ebp - 0x140]
test eax, eax
jge 0x4f16b1
mov ecx, dword [ebp + 8]
call fcn.0040e585
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.004f1d51
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.004f1d51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004f1246
mov eax, dword [ebp + 8]
jmp 0x4f18a7
push dword [ebp - 0x144]
lea ecx, [ebp - 0x114]
call fcn.00405ab3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.0040e585
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x114]
call fcn.004f1db1
movzx eax, al
test eax, eax
je 0x4f180a
lea ecx, [ebp - 0x114]
call fcn.00407d38
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
push eax
push 1
push 0xffffffffffffffff
push dword [ebp - 0x124]
call dword [ebp - 0x148]
cmp dword [ebp - 0x14c], 0
jne 0x4f1739
jmp 0x4f180a
push dword [ebp - 0x150]
lea ecx, [ebp - 0x12c]
call fcn.00405ab3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.00407d38
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x154], eax
push 0
push 0
lea eax, [ebp - 0x16c]
push eax
push 0
push str.Name
push dword [ebp - 0x128]
call dword [ebp - 0x154]
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004f18d4
push dword [eax]
lea ecx, [ebp - 0x100]
call fcn.004f1be2
mov byte [ebp - 4], 6
push dword [ebp - 0x164]
lea eax, [ebp - 0xd8]
push eax
call fcn.004eedd3
pop ecx
pop ecx
mov dword [ebp - 0x158], eax
push dword [ebp - 0x158]
lea ecx, [ebp - 0x98]
call fcn.00411492
lea ecx, [ebp - 0xd8]
call fcn.00410a23
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
call fcn.004f1246
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.004f1d51
jmp 0x4f16d5
push 0
push 0x7c
lea ecx, [ebp - 0x98]
call fcn.00448f82
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
je 0x4f183b
push 0
push dword [ebp - 0x130]
lea ecx, [ebp - 0x98]
call fcn.0041dcd0
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040df66
mov eax, dword [ebp - 0x104]
or eax, 1
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00410a23
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
call fcn.004f1d51
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.004f1d51
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.004f1d51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004f1246
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
leave
ret