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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x47c1b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
push 2
xor ebx, ebx
mov dword [ebp - 4], 0
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x60]
push eax
push 0x4796e4
push 1
push ebx
push 0x4797b4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x401fcc
cmp dword [ebp + 0x2c], 0x10
jb 0x402041
push dword [ebp + 0x18]
call fcn.0040401d
add esp, 4
jmp 0x402041
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x401fb5
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x58]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x401fb5
push 0x41044a
lea ecx, [ebp - 0x30]
call fcn.00401000
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push 0
push 0x30
push edi
push 0x424bc4
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x50]
test eax, eax
jns 0x402061
lea ecx, [ebp - 0x30]
call fcn.00401050
lea ecx, [ebp + 0x18]
call fcn.00401050
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004047a4
mov esp, ebp
pop ebp
ret 0x28
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
lea esp, [esp]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x40219e
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x64]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x40219b
mov eax, dword [ebp - 0x64]
push 0
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x74]
push edx
push 0
push dword [ebp - 0x7c]
push eax
call dword [ecx + 0x10]
mov edi, dword [ebp - 0x6c]
push 0xc
call fcn.00403fce
add esp, 4
mov esi, eax
test esi, esi
je 0x4020d2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi], edi
jmp 0x4020d4
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x4020e9
push 0x8007000e
call fcn.0040c290
cmp dword [esi + 4], 0
mov byte [ebp - 4], 5
jne 0x4020fd
push dword [esi]
call fcn.0040c2b0
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx], 0
jne 0x402109
xor ecx, ecx
jmp 0x402119
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402110
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00401330
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
add eax, ecx
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push eax
xor edx, edx
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.00401780
push dword [ebp + 0x28]
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push 0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403920
cmp eax, 0xffffffff
je 0x402182
inc ebx
cmp ebx, 2
jl 0x4021da
lea ecx, [ebp - 0x48]
call fcn.004019e0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00401a10
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
mov dword [ebp - 4], 2
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x30]
call fcn.00401050
lea ecx, [ebp + 0x18]
call fcn.00401050
mov eax, ebx
jmp 0x402043
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x34], 8
jb 0x4021f4
push dword [ebp - 0x48]
call fcn.0040401d
add esp, 4
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00401a10
jmp 0x402070