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

Disassembly:
push 0xffffffffffffffff
push 0x4cef62
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
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 0x4d5580
push ebp
push edi
push 0x4d5650
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4124d6
cmp dword [esp + 0x2c], edi
je 0x4124d6
mov dword [esp + 0x28], edi
mov byte [esp + 0x1dc], 3
mov esi, dword [esp + 0x2c]
push str.ROOTCIMV2
lea ecx, [esp + 0x24]
call fcn.0040fb20
mov byte [esp + 0x1dc], 4
mov eax, dword [eax]
mov dword [esp + 0x18], ebp
cmp eax, edi
je 0x412216
mov eax, dword [eax]
jmp 0x412218
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 0x41223b
mov byte [esp + 0x17], 1
cmp dword [esp + 0x28], edi
jne 0x412240
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.0040fbd0
cmp byte [esp + 0x17], 0
je 0x4124c1
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 0x4124c1
lea ecx, [esp + 0x24]
call fcn.00417e80
mov byte [esp + 0x1dc], 5
mov esi, dword [esp + 0x28]
push 0x4ea4e8
lea ecx, [esp + 0x38]
call fcn.00405480
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.004057d0
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.0040fb20
mov ebp, eax
mov edi, 8
mov dword [esp + 0x1dc], edi
or ebx, edi
push 0x4ea508
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.0040fb20
mov dword [esp + 0x1dc], 9
or ebx, 0x10
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp]
test ecx, ecx
je 0x41232b
mov ecx, dword [ecx]
jmp 0x41232d
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x412337
mov eax, dword [eax]
jmp 0x412339
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 0x41235c
cmp dword [esp + 0x24], 0
mov byte [esp + 0x17], 1
jne 0x412361
mov byte [esp + 0x17], 0
mov dword [esp + 0x1dc], edi
test bl, 0x10
je 0x41237d
and ebx, 0xffffffef
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.0040fbd0
mov dword [esp + 0x1dc], 7
test bl, 8
je 0x41239d
and ebx, 0xfffffff7
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.0040fbd0
mov dword [esp + 0x1dc], 6
test bl, 4
je 0x4123bd
and ebx, 0xfffffffb
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00404f30
mov dword [esp + 0x1dc], 5
test bl, 2
je 0x4123dd
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00404f30
cmp byte [esp + 0x17], 0
je 0x4124ae
cmp dword [esp + 0x24], 0
je 0x4124a9
push fcn.00447950
push 0x447900
push 0x64
push 4
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x34], 0
call fcn.004ab710
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 0x41248e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41248e
xor esi, esi
test eax, eax
jbe 0x412466
lea ebx, [esp + 0x3c]
mov edi, edi
mov edi, dword [esp + 0x1e4]
call fcn.00417f60
inc esi
add ebx, 4
cmp esi, dword [esp + 0x20]
jb 0x412450
mov byte [esp + 0x1dc], 5
push fcn.00447950
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.004aa129
cmp dword [esp + 0x24], 0
jne 0x4123f3
jmp 0x4124a9
mov byte [esp + 0x1dc], 5
push fcn.00447950
push 0x64
push 4
lea ecx, [esp + 0x48]
push ecx
call fcn.004aa129
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1dc], 3
lea ecx, [esp + 0x24]
call fcn.00412510
xor edi, edi
mov byte [esp + 0x1dc], 1
lea ecx, [esp + 0x28]
call fcn.00412510
mov bl, byte [esp + 0x1f]
mov dword [esp + 0x1dc], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4124f1
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