Function at 0x461ab7
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements

Disassembly:
push 0x2c
mov eax, 0x4adc81
call fcn.004711ef
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4c29dc
push 1
push ebx
push 0x4c2aac
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x461afe
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x461af7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x461cd8
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp - 0x18]
push str.RootMicrosoftWindowsStorage
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00460d71
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
mov byte [ebp - 4], 1
call esi
cmp edi, ebx
jge 0x461b53
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x461ae6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x461ae6
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x461b41
push 0x4f39f8
lea ecx, [ebp - 0x1c]
call fcn.004028e9
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0x4bd3c8
push eax
mov byte [ebp - 4], 3
call fcn.00403ac2
add esp, 0xc
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00460d71
mov dword [ebp + 8], eax
push 0x4bd3c4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00460dbd
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ebx
push 0x30
push ecx
mov dword [ebp + 8], eax
push dword [ebp + 8]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 6
call dword [eax + 0x50]
push dword [ebp - 0x24]
mov edi, eax
call esi
push dword [ebp - 0x28]
call esi
cmp edi, ebx
jge 0x461c08
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x461bf8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040290e
jmp 0x461b41
mov dword [ebp - 0x20], ebx
jmp 0x461c6e
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp + 8]
push ecx
push 1
push 0x7d0
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
call dword [eax + 0x10]
cmp dword [ebp - 0x20], ebx
je 0x461c87
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x38]
push edx
push ebx
push str.MediaType
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x461c5d
cmp word [ebp - 0x38], 3
je 0x461c75
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x461c6e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jne 0x461c0d
jmp 0x461c98
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x461c87
xor ecx, ecx
cmp dword [ebp - 0x30], 4
sete cl
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x461c98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x461ca9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x461cc4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x461cd5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
call fcn.004712c7
ret 8