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

Disassembly:
push 0xffffffffffffffff
push 0x475c09
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x419a0c
lea eax, [esp + 0x1c]
push eax
push 0x47cfc0
push 1
push ebp
push 0x47d090
mov dword [esp + 0x30], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x419989
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp + 1]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
lea ebx, [esp + 0x30]
mov dword [esp + 0x18], ebp
call fcn.00419820
mov dword [esp + 0x58], ebp
mov eax, dword [eax]
cmp eax, ebp
je 0x4199a4
mov ecx, dword [eax]
jmp 0x4199a6
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.004198c0
cmp esi, ebp
jl 0x4199fa
mov eax, dword [esp + 0x18]
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebp
jge 0x419a23
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
or eax, 0xffffffff
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push str.SELECT__from_Win32_Volume
lea ebx, [esp + 0x38]
mov dword [esp + 0x28], ebp
call fcn.00419790
mov esi, eax
push 0x4806a4
lea ebx, [esp + 0x34]
mov dword [esp + 0x5c], 1
call fcn.00419790
mov byte [esp + 0x58], 2
mov ecx, dword [esi]
cmp ecx, ebp
je 0x419a5c
mov ecx, dword [ecx]
jmp 0x419a5e
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebp
je 0x419a68
mov edx, dword [eax]
jmp 0x419a6a
xor edx, edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
lea edi, [esp + 0x24]
push edi
push ebp
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [esp + 0x30]
mov esi, eax
call fcn.004198c0
or ebx, 0xffffffff
lea edi, [esp + 0x34]
mov dword [esp + 0x58], ebx
call fcn.004198c0
cmp esi, ebp
jge 0x419ad3
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x60], 3
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push 1
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jne 0x419b93
mov edi, 8
lea ecx, [esp + 0x3c]
push ecx
call esi
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebp
push ebp
lea ecx, [esp + 0x44]
push ecx
push ebp
push 0x4806a8
push eax
call edx
cmp eax, ebp
jne 0x419b76
cmp word [esp + 0x3c], di
jne 0x419b76
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x419b76
movzx eax, word [eax]
cmp ax, 0x61
jb 0x419b58
cmp ax, 0x7a
jbe 0x419b64
cmp ax, 0x41
jb 0x419b76
cmp ax, 0x5a
ja 0x419b76
call fcn.00419760
mov edx, 1
mov ecx, eax
shl edx, cl
or dword [esp + 0x28], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x24]
push edx
push 1
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
je 0x419b16
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x419ba3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x5c], ebx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov esi, dword [esp + 0x28]
push esi
lea eax, [esp + 0x30]
push 0x4806b8
push eax
mov dword [esp + 0x64], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
cmp esi, ebp
jne 0x419c08
mov esi, ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret