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

Disassembly:
push 0xffffffffffffffff
push 0x4ce922
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 0x4132d6
cmp dword [esp + 0x2c], edi
je 0x4132d6
mov dword [esp + 0x28], edi
mov byte [esp + 0x1dc], 3
mov esi, dword [esp + 0x2c]
push str.ROOTCIMV2
lea ecx, [esp + 0x24]
call fcn.00410920
mov byte [esp + 0x1dc], 4
mov eax, dword [eax]
mov dword [esp + 0x18], ebp
cmp eax, edi
je 0x413016
mov eax, dword [eax]
jmp 0x413018
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 0x41303b
mov byte [esp + 0x17], 1
cmp dword [esp + 0x28], edi
jne 0x413040
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.004109d0
cmp byte [esp + 0x17], 0
je 0x4132c1
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 0x4132c1
lea ecx, [esp + 0x24]
call fcn.00417de0
mov byte [esp + 0x1dc], 5
mov esi, dword [esp + 0x28]
push 0x4ea510
lea ecx, [esp + 0x38]
call fcn.00405900
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.00405c50
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.00410920
mov ebp, eax
mov edi, 8
mov dword [esp + 0x1dc], edi
or ebx, edi
push 0x4ea530
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.00410920
mov dword [esp + 0x1dc], 9
or ebx, 0x10
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp]
test ecx, ecx
je 0x41312b
mov ecx, dword [ecx]
jmp 0x41312d
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x413137
mov eax, dword [eax]
jmp 0x413139
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 0x41315c
cmp dword [esp + 0x24], 0
mov byte [esp + 0x17], 1
jne 0x413161
mov byte [esp + 0x17], 0
mov dword [esp + 0x1dc], edi
test bl, 0x10
je 0x41317d
and ebx, 0xffffffef
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.004109d0
mov dword [esp + 0x1dc], 7
test bl, 8
je 0x41319d
and ebx, 0xfffffff7
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.004109d0
mov dword [esp + 0x1dc], 6
test bl, 4
je 0x4131bd
and ebx, 0xfffffffb
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00405410
mov dword [esp + 0x1dc], 5
test bl, 2
je 0x4131dd
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00405410
cmp byte [esp + 0x17], 0
je 0x4132ae
cmp dword [esp + 0x24], 0
je 0x4132a9
push fcn.004474d0
push 0x447480
push 0x64
push 4
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x34], 0
call fcn.004ab223
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 0x41328e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41328e
xor esi, esi
test eax, eax
jbe 0x413266
lea ebx, [esp + 0x3c]
mov edi, edi
mov edi, dword [esp + 0x1e4]
call fcn.00417eb0
inc esi
add ebx, 4
cmp esi, dword [esp + 0x20]
jb 0x413250
mov byte [esp + 0x1dc], 5
push fcn.004474d0
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.004a9c59
cmp dword [esp + 0x24], 0
jne 0x4131f3
jmp 0x4132a9
mov byte [esp + 0x1dc], 5
push fcn.004474d0
push 0x64
push 4
lea ecx, [esp + 0x48]
push ecx
call fcn.004a9c59
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1dc], 3
lea ecx, [esp + 0x24]
call fcn.00432f90
xor edi, edi
mov byte [esp + 0x1dc], 1
lea ecx, [esp + 0x28]
call fcn.00432f90
mov bl, byte [esp + 0x1f]
mov dword [esp + 0x1dc], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4132f1
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