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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x74
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
lea esi, [edi + 8]
cmp eax, 2
jne 0x10170d36
push 0
push 0
call sub.ole32.dll_CoInitializeEx
cmp eax, 2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
setb byte [ebp - 0xc]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.ole32.dll_CoInitializeSecurity
test eax, eax
js 0x10170d89
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], 0
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebp - 0x30], xmm0
movsd qword [ebp - 0x38], xmm1
movsd qword [ebp - 0x40], xmm2
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x28]
push eax
push 0x1034d658
push 1
push 0
push 0x1034d648
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x10170d8b
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ecx
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebp - 0x10], xmm0
movsd qword [ebp - 0x18], xmm1
movsd qword [ebp - 0x20], xmm2
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x24]
call fcn.10170e60
cmp dword [ebp - 0x60], 2
je 0x10170d98
movsd xmm0, qword [ebp - 0x60]
movsd xmm1, qword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
movsd xmm2, qword [ebp - 0x50]
movsd qword [ebp - 0x1c], xmm1
mov dword [ebp - 0xc], eax
movsd qword [ebp - 0x14], xmm2
movsd qword [ebp - 0x24], xmm0
cmp dword [ebp - 0x1c], 0
je 0x10170d90
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x10170d90
movsd xmm0, qword [ebp - 0x10]
movsd xmm1, qword [ebp - 0x18]
movsd xmm2, qword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
movsd qword [edi + 0x1c], xmm0
movsd qword [edi + 0x14], xmm1
movsd qword [edi + 0xc], xmm2
cmp eax, 2
movsd xmm1, qword [edi + 0x1c]
movsd xmm2, qword [edi + 0xc]
movsd qword [ebp - 0x34], xmm1
movsd xmm1, qword [edi + 0x14]
movsd qword [ebp - 0x44], xmm2
mov dword [edi + 8], 2
movsd qword [ebp - 0x3c], xmm1
jne 0x10170d5b
jmp 0x10170d9e
movsd xmm0, qword [edi + 0x1c]
movsd xmm2, qword [edi + 0xc]
movsd xmm1, qword [edi + 0x14]
mov dword [edi + 8], 2
movsd qword [ebp - 0x34], xmm0
movsd qword [ebp - 0x3c], xmm1
movsd qword [ebp - 0x44], xmm2
movsd xmm1, qword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
movsd xmm0, qword [ebp - 0x44]
movsd qword [ebp - 0x70], xmm1
movsd xmm1, qword [ebp - 0x34]
movsd qword [ebp - 0x78], xmm0
movsd qword [ebp - 0x68], xmm1
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x7c]
call fcn.10170f40
jmp 0x10170da5
jmp 0x10170d90
lea ecx, [ebp - 0x44]
jmp 0x10170d93
lea ecx, [ebp - 0x24]
call fcn.1016b860
mov dword [esi], 2
mov dword [ebp - 0x24], 2
movsd xmm2, qword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
movsd xmm0, qword [ebp - 0x14]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [esi], xmm2
mov dword [esi + 0x18], eax
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 8], xmm1
cmp dword [esi], 2
je 0x10170df7
lea ecx, [ebp - 0x24]
mov edx, esi
push 0
call fcn.10171030
add esp, 4
cmp dword [ebp - 0x20], 2
je 0x10170df7
movss xmm0, dword [ebp - 0x24]
movss dword [edi + 0x30], xmm0
ucomiss xmm0, dword [edi + 0x34]
jbe 0x10170df7
movss dword [edi + 0x34], xmm0
add esp, 0x74
pop esi
pop edi
pop ebp
ret