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

Disassembly:
push 0xffffffffffffffff
push 0x44dff8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x404f0c
push ebp
push ebp
push ebp
push 3
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push ebp
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebp
jge 0x404e69
cmp eax, 0x80010119
jne 0x404f06
lea eax, [esp + 0x1c]
push eax
push 0x453590
push 1
push ebp
push 0x453660
mov dword [esp + 0x30], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x404f06
lea ebx, [esp + 0x28]
mov dword [esp + 0x18], ebp
call fcn.00403c20
mov dword [esp + 0x50], ebp
mov eax, dword [eax]
cmp eax, ebp
je 0x404ea4
mov ecx, dword [eax]
jmp 0x404ea6
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 + 0x28]
mov esi, eax
mov dword [esp + 0x50], 0xffffffff
call fcn.00403cc0
cmp esi, ebp
jl 0x404efa
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 0x404f23
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 + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push str.SELECT__FROM_Win32_PhysicalMemory
lea ebx, [esp + 0x30]
mov dword [esp + 0x24], ebp
call fcn.00403b90
mov esi, eax
push 0x45710c
lea ebx, [esp + 0x2c]
mov dword [esp + 0x54], 1
call fcn.00403b90
mov byte [esp + 0x50], 2
mov ecx, dword [esi]
cmp ecx, ebp
je 0x404f5c
mov ecx, dword [ecx]
jmp 0x404f5e
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebp
je 0x404f68
mov edx, dword [eax]
jmp 0x404f6a
xor edx, edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
lea edi, [esp + 0x20]
push edi
push ebp
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [esp + 0x28]
mov esi, eax
call fcn.00403cc0
lea edi, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00403cc0
cmp esi, ebp
jl 0x404eee
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
cmp eax, ebp
je 0x404f0c
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x34]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x24], ebp
je 0x404f0c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x3c]
push edx
push ebp
push 0x457110
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x3c]
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, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret