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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
mov byte [ebp - 6], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x10005217
xor al, al
jmp 0x10005424
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTCIMV2
call esi
mov edi, eax
push str.select__from_win32_process_where_executablepath_like___chrome.exe_
mov dword [ebp - 0x24], edi
call esi
push str.executablepath
mov dword [ebp - 0x20], eax
call esi
push ebx
push ebx
push ebx
push 3
mov dword [ebp - 0x38], eax
pop eax
push eax
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push 0x10006538
push 1
push ebx
push 0x10006608
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
js 0x1000540e
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
and dword [ebp - 0x14], 0
push edx
xor edx, edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push edx
push edx
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x10005405
xor eax, eax
push eax
push eax
push 3
pop ecx
push ecx
push ecx
push eax
push eax
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x100053fc
push 0x10007b78
call esi
lea edx, [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0x30
push dword [ebp - 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
push edi
mov esi, eax
call ebx
test esi, esi
js 0x100053f9
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
and dword [ebp - 0xc], 0
push edx
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0xc], 0
je 0x100053f0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 3
pop edi
test eax, eax
js 0x100053f0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.executablepath
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x100053e7
mov cx, word [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
cmp cx, 8
jne 0x1000536e
test eax, eax
je 0x1000536e
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x10005367
push 0x104
push dword [ebp - 0x2c]
jmp 0x1000539a
mov eax, dword [ebp - 0x2c]
mov cx, word [ebp - 0x34]
cmp cx, di
jne 0x100053a5
push eax
push 0x10007b80
lea eax, [ebp - 0x244]
push 0x104
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x244]
push 0x104
push eax
push dword [ebp + 0x10]
call esi
mov byte [ebp - 5], 0
jmp 0x100053a9
mov byte [ebp - 5], 1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp - 5], 0
mov byte [ebp - 6], 1
je 0x100053f0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0xc], 0
jne 0x1000530f
jmp 0x100053f0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call ebx
push dword [ebp - 0x20]
call ebx
push dword [ebp - 0x38]
call ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 6]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret