Function at 0x10005560
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 0x1003101a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x1003e024]
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], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x20], 0
push eax
push 0x10039410
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
call fcn.10014420
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x38]
push eax
push 0x100333cc
push 1
push 0
push 0x100333bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x10005735
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
push str._ERROR__CoCreateInstance_0x_X_n
call fcn.10001150
add esp, 8
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x10039410
mov word [edi], ax
mov byte [ebp - 4], 3
call fcn.10014420
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x10005695
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000568b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bb2
push ecx
push edx
call fcn.10019f0e
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x100056c9
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100056bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bb2
push ecx
push edx
call fcn.10019f0e
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 0x10005715
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000570b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bb2
push ecx
push edx
call fcn.10019f0e
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.10019893
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.10019aaf
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x10005791
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 0x10005bb7
jmp 0x10005793
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], esi
test esi, esi
je 0x10005bc1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
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], 3
lock xadd dword [esi + 8], eax
dec eax
jne 0x10005805
mov eax, dword [esi]
test eax, eax
je 0x100057e3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100057fa
push eax
call fcn.100198a1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10019f0e
add esp, 8
cmp dword [ebp - 0x54], 0
jge 0x10005847
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
call fcn.10001150
add esp, 8
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x10005637
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 0x100058a7
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
call fcn.10001150
add esp, 8
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x10005637
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.100030b0
mov byte [ebp - 4], 9
mov esi, dword [eax]
test esi, esi
je 0x100058d8
mov esi, dword [esi]
jmp 0x100058da
xor esi, esi
push 0x1003946c
lea ecx, [ebp - 0x54]
call fcn.100030b0
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x100058f5
mov eax, dword [eax]
jmp 0x100058f7
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 0x1000595c
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10005955
test esi, esi
je 0x10005955
mov eax, dword [esi]
test eax, eax
je 0x10005933
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000594a
push eax
call fcn.100198a1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10019f0e
add esp, 8
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x100059ab
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x100059ab
test esi, esi
je 0x100059ab
mov eax, dword [esi]
test eax, eax
je 0x10005989
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100059a0
push eax
call fcn.100198a1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10019f0e
add esp, 8
cmp dword [ebp - 0x5c], 0
jge 0x100059f6
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
call fcn.10001150
add esp, 8
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp 0x10005637
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x10005ae9
nop
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 0x10005ae9
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 dword [ebp - 0x78], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005a75
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.10014420
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
call fcn.10013fa0
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x10005ad4
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005aca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bb2
push ecx
push edx
call fcn.10019f0e
add esp, 8
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x10005a10
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]
movups xmm0, xmmword [ebp - 0x30]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x10005b68
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005b5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bb2
push ecx
push edx
call fcn.10019f0e
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 0x10005715
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000570b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000570b
call fcn.100206c1
push 0x8007000e
call fcn.100194f0
push 0x8007000e
call fcn.100194f0
int3