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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418371
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x42100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x4024ab
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x4024b5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x68], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 4
mov dword [esi], 0
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x4024bf
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0
mov dword [ebp - 0x64], 1
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 2
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x30]
push eax
push 0x41ef1c
push 0x17
push 0
push 0x41ef34
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x30]
push str.rootcimv2
mov dword [ebp - 0x54], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4024c9
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 5
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x58]
push esi
mov dword [ecx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
push str.Win32_Group
mov dword [ebp - 0x54], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4024d3
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x24]
push edx
push 0
push 0x21
mov byte [ebp - 4], 7
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x58]
push esi
mov dword [ecx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
or esi, 0xffffffff
cmp dword [ebp - 0x28], 1
jne 0x40240e
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
mov esi, str.Name
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 9
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x4024ab
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x54], eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xa
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x4024ab
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
test esi, 0xffff0000
jne 0x40215c
movzx eax, si
push eax
call fcn.00404950
jmp 0x402168
push 4
push str.Name
call fcn.00404bd0
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x18]
push 0
push 0
mov eax, dword [esi - 0xc]
push eax
push esi
push 0
push 3
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4024a6
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x5c]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebp - 0x50]
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x48], 8
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jne 0x4021db
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x60]
call fcn.004047a0
push 3
push 0x41eacc
lea ecx, [ebp - 0x18]
call fcn.00404bd0
mov esi, dword [ebp - 0x18]
push 0
push 0
mov eax, dword [esi - 0xc]
push eax
push esi
push 0
push 3
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push 0
mov dword [ebp - 0x50], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4024a6
push dword [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x48], 8
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jne 0x4022c3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4022b8
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea esi, [eax - 1]
test esi, esi
jle 0x4022b8
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x402291
push esi
lea ecx, [ebp - 0x20]
call fcn.00404af0
mov edi, dword [ebp - 0x20]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x50]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp esi, dword [edi - 8]
jg 0x4024dd
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
jmp 0x4022c3
lea ecx, [ebp - 0x20]
call fcn.004048f0
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x4022d7
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x4022ef
call fcn.00405000
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4024ab
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, 0x41ead0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c]
test eax, 0xffff0000
jne 0x40231a
movzx eax, ax
push eax
call fcn.00404950
jmp 0x402324
push 0x41ead0
call fcn.004047a0
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4024ab
push esi
push edi
call fcn.0040b3ab
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40235b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
cmp byte [ebp - 0x49], 0
jne 0x4023dd
test eax, eax
jg 0x402382
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, esi
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40239d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4023b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
jmp 0x4020df
test eax, eax
jg 0x4023e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, esi
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402404
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40241f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x402430
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x68]
mov eax, esi
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40244b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x402464
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x402475
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x402486
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004052ed
mov esp, ebp
pop ebp
ret 4
call fcn.004048e0
push 0x80004005
call fcn.00405130
push 0x80004005
call fcn.00405130
push 0x80004005
call fcn.00405130
push 0x8007000e
call fcn.00405130
push 0x8007000e
call fcn.00405130
push 0x80070057
call fcn.00405130
int3