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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43326a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x441370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x43c234
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0040c990
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x38]
push eax
push 0x4357e4
push 1
push 0
push 0x4357f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x407336
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
push str._ERROR__CoCreateInstance_0x_X_n
call fcn.00401690
add esp, 8
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
push 0
push 0x43c234
call fcn.0040c990
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x407296
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40728c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407764
push ecx
push edx
call fcn.00412542
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x4072ca
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407764
push ecx
push edx
call fcn.00412542
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 8
jb 0x407316
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40730c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407764
push ecx
push edx
call fcn.00412542
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004124fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], 0
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
call fcn.0041250d
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x407392
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.rootCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x407769
jmp 0x407394
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], esi
test esi, esi
je 0x407773
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x38]
call dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
or eax, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [esi + 8], eax
dec eax
jne 0x407406
mov eax, dword [esi]
test eax, eax
je 0x4073e4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4073fb
push eax
call fcn.00412508
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412542
add esp, 8
cmp dword [ebp - 0x54], 0
jge 0x40742c
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__2__d_n
jmp 0x407232
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x34]
jns 0x407470
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__3__d_n
jmp 0x407232
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], 0
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x5c], eax
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
call fcn.00403d20
mov byte [ebp - 4], 5
mov esi, dword [eax]
test esi, esi
je 0x4074a1
mov esi, dword [esi]
jmp 0x4074a3
xor esi, esi
push 0x43ca98
lea ecx, [ebp - 0x54]
call fcn.00403d20
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4074be
mov eax, dword [eax]
jmp 0x4074c0
xor eax, eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x34]
call dword [ebp - 0x5c]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x407525
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x40751e
test esi, esi
je 0x40751e
mov eax, dword [esi]
test eax, eax
je 0x4074fc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x407513
push eax
call fcn.00412508
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412542
add esp, 8
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x407574
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x407574
test esi, esi
je 0x407574
mov eax, dword [esi]
test eax, eax
je 0x407552
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x407569
push eax
call fcn.00412508
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412542
add esp, 8
cmp dword [ebp - 0x5c], 0
jge 0x4075a3
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__4__d_n
jmp 0x407232
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x40769b
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x40]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x40769b
mov edx, dword [ebp - 0x40]
lea esi, [ebp - 0x50]
cmp dword [ebx + 0x34], 8
xorps xmm0, xmm0
push 0
movups xmmword [ebp - 0x50], xmm0
mov eax, dword [edx]
push 0
push esi
push 0
mov ecx, dword [eax + 0x10]
lea eax, [ebx + 0x20]
cmovae eax, dword [ebx + 0x20]
push eax
push edx
call ecx
mov edx, dword [ebp - 0x48]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407621
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040c990
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x407674
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40766a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407764
push ecx
push edx
call fcn.00412542
add esp, 8
movups xmm0, xmmword [ebp - 0x7c]
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x4075c0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0x10], xmm0
cmp ecx, 0x10
jb 0x40771a
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407710
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407764
push ecx
push edx
call fcn.00412542
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 8
jb 0x407316
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40730c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40730c
call fcn.0041a900
push 0x8007000e
call fcn.00413ef0
push 0x8007000e
call fcn.00413ef0
int3