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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x57e40b
mov eax, 0x80004004
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
call edi
cmp eax, 0x80010106
jne 0x57e425
push 2
push 0
call edi
test eax, eax
js 0x57e73b
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x62495c
push 1
push 0
push 0x624a2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x57e462
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0047a140
mov eax, dword [eax]
test eax, eax
je 0x57e47e
mov edx, dword [eax]
jmp 0x57e480
xor edx, edx
mov eax, dword [ebp - 8]
lea edi, [ebp - 4]
push ebx
push edi
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov edi, dword [ebp - 0x10]
or ebx, 0xffffffff
mov dword [ebp + 8], eax
test edi, edi
je 0x57e4ee
mov ecx, ebx
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x57e4ee
test edi, edi
je 0x57e4ee
mov eax, dword [edi]
test eax, eax
je 0x57e4c9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x57e4e0
push eax
call fcn.0058bb5f
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0058bb51
mov eax, dword [ebp + 8]
add esp, 8
test eax, eax
js 0x57e728
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x57e536
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xc], 0
call fcn.0047a140
mov edx, dword [eax]
test edx, edx
je 0x57e552
mov edx, dword [edx]
jmp 0x57e554
xor edx, edx
mov eax, dword [ebp - 4]
lea edi, [ebp - 0xc]
push edi
push 0
push 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
test edi, edi
je 0x57e5b4
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x57e5b4
test edi, edi
je 0x57e5b4
mov eax, dword [edi]
test eax, eax
je 0x57e58f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x57e5a6
push eax
call fcn.0058bb5f
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0058bb51
mov eax, dword [ebp + 8]
add esp, 8
test eax, eax
js 0x57e71f
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x57e71f
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp + 0xc]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp + 8], 0
je 0x57e6e9
mov edx, 0x10
nop
test eax, eax
jne 0x57e6e9
cmp dword [ebp + 0xc], eax
je 0x57e6e9
mov eax, dword [esi + 8]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00479f2b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x57e6b5
mov edi, ebx
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x57e640
nop
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
inc ebx
add edi, 0x10
cmp ebx, dword [esi + 8]
jb 0x57e630
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x57e6b5
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x57e672
nop
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push 0
push 0
mov edx, dword [ecx]
push ebx
push 0
push dword [eax + edi*4]
push ecx
call dword [edx + 0x10]
inc edi
add ebx, 0x10
cmp edi, dword [esi + 8]
jb 0x57e650
mov ebx, dword [ebp - 0x10]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
inc eax
mov edi, edx
cmp edi, eax
jae 0x57e6a9
mov ecx, dword [esi + 0x18]
add edi, ecx
cmp edi, eax
jb 0x57e682
cmp edi, edx
jbe 0x57e6a9
lea eax, [edi*4]
push eax
push dword [esi + 0xc]
call fcn.005d1eeb
add esp, 8
test eax, eax
je 0x57e715
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
lea edx, [ebp + 8]
push edx
lea edx, [ebp + 0xc]
mov dword [ebp + 8], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp + 8], 0
mov edx, 0x10
jne 0x57e5f0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ecx, esi
call fcn.0057e0e0
jmp 0x57e6b5
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8