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

Disassembly:
push 0xffffffffffffffff
push 0x431827
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x4390b4]
xor eax, esp
mov dword [esp + 0x4d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4390b4]
xor eax, esp
push eax
lea eax, [esp + 0x4f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x504]
mov dword [esp + 0x2c], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x500], 1
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x14]
push ecx
push 0x434b20
push 1
push ebx
push 0x434bf0
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4034e4
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x520], 0x10
jb 0x4034aa
mov edx, dword [esp + 0x50c]
push edx
call fcn.00408475
add esp, 4
cmp dword [esp + 0x53c], 8
mov dword [esp + 0x520], 0xf
mov dword [esp + 0x51c], ebx
mov byte [esp + 0x50c], bl
jb 0x4034dd
mov eax, dword [esp + 0x528]
push eax
call fcn.00408475
add esp, 4
xor eax, eax
jmp 0x40385e
lea ecx, [esp + 0x20]
push ecx
mov edi, str.ROOTCIMV2
mov dword [esp + 0x1c], ebx
call fcn.00402610
mov byte [esp + 0x4fc], 2
mov eax, dword [eax]
cmp eax, ebx
je 0x403509
mov ecx, dword [eax]
jmp 0x40350b
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
mov byte [esp + 0x4fc], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40356f
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x40356f
cmp esi, ebx
je 0x40356f
mov eax, dword [esi]
cmp eax, ebx
je 0x403556
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x403566
push eax
call fcn.004088ab
add esp, 4
push esi
call fcn.00408475
add esp, 4
cmp edi, ebx
jge 0x4035dd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x520], 0x10
jb 0x40359f
mov eax, dword [esp + 0x50c]
push eax
call fcn.00408475
add esp, 4
cmp dword [esp + 0x53c], 8
mov dword [esp + 0x520], 0xf
mov dword [esp + 0x51c], ebx
mov byte [esp + 0x50c], bl
jb 0x4034dd
mov ecx, dword [esp + 0x528]
push ecx
call fcn.00408475
add esp, 4
xor eax, eax
jmp 0x40385e
mov edx, dword [esp + 0x18]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x403607
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x403573
lea edx, [esp + 0x508]
push edx
lea edi, [esp + 0x4c]
mov dword [esp + 0x20], ebx
call fcn.004073c0
add esp, 4
mov byte [esp + 0x4fc], 3
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x403636
lea eax, [esp + 0x4c]
push eax
lea ebx, [esp + 0x34]
call fcn.00402580
mov esi, eax
push 0x435224
lea ebx, [esp + 0x24]
mov byte [esp + 0x500], 4
call fcn.00402580
mov byte [esp + 0x4fc], 5
mov ecx, dword [esi]
test ecx, ecx
je 0x40366a
mov ecx, dword [ecx]
jmp 0x40366c
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x403676
mov edx, dword [eax]
jmp 0x403678
xor edx, edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
lea edi, [esp + 0x1c]
push edi
push 0
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [esp + 0x20]
mov esi, eax
call fcn.004026b0
mov ebx, 3
lea edi, [esp + 0x30]
mov byte [esp + 0x4fc], bl
call fcn.004026b0
test esi, esi
jge 0x4036f9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x48]
call fcn.00404010
lea ecx, [esp + 0x508]
call fcn.00404010
lea esi, [esp + 0x524]
call fcn.004044e0
xor eax, eax
jmp 0x40385e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
test eax, eax
je 0x40380e
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x28], 0
je 0x40380e
lea ecx, [esp + 0x34]
push ecx
call edi
cmp dword [esp + 0x53c], 8
mov ecx, dword [esp + 0x528]
jae 0x403759
lea ecx, [esp + 0x528]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 0
push 0
lea ebp, [esp + 0x3c]
push ebp
push 0
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jl 0x4037ef
mov edx, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x6c]
push edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], ecx
call fcn.004049b0
mov byte [esp + 0x4fc], 6
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0xf0]
push 0xc8
push ecx
call fcn.00409502
lea eax, [esp + 0xf8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4037b8
mov ecx, dword [esp + 0x2c]
sub eax, edx
push eax
lea edx, [esp + 0xf0]
push edx
call fcn.00405560
mov byte [esp + 0x4fc], bl
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x4037ef
push eax
call fcn.00408480
add esp, 4
lea edx, [esp + 0x34]
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x403719
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x48]
call fcn.00404010
lea ecx, [esp + 0x508]
call fcn.00404010
lea esi, [esp + 0x524]
call fcn.004044e0
mov eax, 1
mov ecx, dword [esp + 0x4f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.0040801c
add esp, 0x4ec
ret