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

Disassembly:
push 0xffffffffffffffff
push 0x4cf7d2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x1d4]
mov dword fs:[0], eax
xor edi, edi
xor bl, bl
mov dword [esp + 0x18], edi
mov byte [esp + 0x1f], bl
mov dword [esp + 0x2c], edi
mov ebp, 1
mov dword [esp + 0x1dc], ebp
lea eax, [esp + 0x2c]
push eax
push 0x4d6580
push ebp
push edi
push 0x4d6650
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x412606
cmp dword [esp + 0x2c], edi
je 0x412606
mov dword [esp + 0x28], edi
mov byte [esp + 0x1dc], 3
mov esi, dword [esp + 0x2c]
push str.ROOTCIMV2
lea ecx, [esp + 0x24]
call fcn.0040fc70
mov byte [esp + 0x1dc], 4
mov eax, dword [eax]
mov dword [esp + 0x18], ebp
cmp eax, edi
je 0x412346
mov eax, dword [eax]
jmp 0x412348
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x28]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
test eax, eax
jl 0x41236b
mov byte [esp + 0x17], 1
cmp dword [esp + 0x28], edi
jne 0x412370
mov byte [esp + 0x17], 0
mov dword [esp + 0x1dc], 3
mov ebx, ebp
mov dword [esp + 0x18], ebx
and ebx, 0xfffffffe
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.0040fd20
cmp byte [esp + 0x17], 0
je 0x4125f1
mov ecx, dword [esp + 0x28]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x4125f1
lea ecx, [esp + 0x24]
call fcn.00418180
mov byte [esp + 0x1dc], 5
mov esi, dword [esp + 0x28]
push 0x4eb508
lea ecx, [esp + 0x38]
call fcn.004054b0
mov byte [esp + 0x1dc], 6
push str.Win32_Process
push eax
lea edx, [esp + 0x38]
or ebx, 2
push edx
mov dword [esp + 0x24], ebx
call fcn.00405800
add esp, 0xc
mov dword [esp + 0x1dc], 7
or ebx, 4
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040fc70
mov ebp, eax
mov edi, 8
mov dword [esp + 0x1dc], edi
or ebx, edi
push 0x4eb528
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.0040fc70
mov dword [esp + 0x1dc], 9
or ebx, 0x10
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp]
test ecx, ecx
je 0x41245b
mov ecx, dword [ecx]
jmp 0x41245d
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x412467
mov eax, dword [eax]
jmp 0x412469
xor eax, eax
mov edx, dword [esi]
lea ebp, [esp + 0x24]
push ebp
push 0
push 0x30
push ecx
push eax
mov eax, dword [edx + 0x50]
push esi
call eax
test eax, eax
jl 0x41248c
cmp dword [esp + 0x24], 0
mov byte [esp + 0x17], 1
jne 0x412491
mov byte [esp + 0x17], 0
mov dword [esp + 0x1dc], edi
test bl, 0x10
je 0x4124ad
and ebx, 0xffffffef
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.0040fd20
mov dword [esp + 0x1dc], 7
test bl, 8
je 0x4124cd
and ebx, 0xfffffff7
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.0040fd20
mov dword [esp + 0x1dc], 6
test bl, 4
je 0x4124ed
and ebx, 0xfffffffb
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00405020
mov dword [esp + 0x1dc], 5
test bl, 2
je 0x41250d
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00405020
cmp byte [esp + 0x17], 0
je 0x4125de
cmp dword [esp + 0x24], 0
je 0x4125d9
push fcn.00448400
push 0x4483b0
push 0x64
push 4
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x34], 0
call fcn.004ac118
mov byte [esp + 0x1dc], 0xa
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
push ecx
push 0x64
push 0x2710
push eax
call edx
test eax, eax
jl 0x4125be
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4125be
xor esi, esi
test eax, eax
jbe 0x412596
lea ebx, [esp + 0x3c]
mov edi, edi
mov edi, dword [esp + 0x1e4]
call fcn.00418250
inc esi
add ebx, 4
cmp esi, dword [esp + 0x20]
jb 0x412580
mov byte [esp + 0x1dc], 5
push fcn.00448400
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.004aab4e
cmp dword [esp + 0x24], 0
jne 0x412523
jmp 0x4125d9
mov byte [esp + 0x1dc], 5
push fcn.00448400
push 0x64
push 4
lea ecx, [esp + 0x48]
push ecx
call fcn.004aab4e
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1dc], 3
lea ecx, [esp + 0x24]
call fcn.00412640
xor edi, edi
mov byte [esp + 0x1dc], 1
lea ecx, [esp + 0x28]
call fcn.00412640
mov bl, byte [esp + 0x1f]
mov dword [esp + 0x1dc], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x412621
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, bl
mov ecx, dword [esp + 0x1d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret