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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484225
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.0041d490
lea ecx, [ebp - 0x54]
call fcn.004226b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x49fe94
push 1
push 0
push 0x49fe84
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x43843b
lea edx, [ebp - 0x54]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
movzx eax, byte [ebp - 0x2d]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c360
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422350
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00422580
mov eax, dword [ebp + 8]
jmp 0x438916
mov dword [ebp - 0x18], 0
push 0x495008
lea ecx, [ebp - 0x34]
call fcn.004379d0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
cmp dword [ecx], 0
je 0x438476
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
jmp 0x43847d
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x4384bb
mov ecx, dword [ebp - 0x34]
call fcn.004394e0
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x20], 0
jge 0x438530
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c360
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.00422350
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00422580
mov eax, dword [ebp + 8]
jmp 0x438916
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4385ce
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
movzx edx, byte [ebp - 0x2f]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041c360
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00422350
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00422580
mov eax, dword [ebp + 8]
jmp 0x438916
mov dword [ebp - 0x28], 0
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x3c]
call fcn.00437920
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
push 0x495044
lea ecx, [ebp - 0x38]
call fcn.00437920
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
cmp dword [ecx], 0
je 0x438629
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
jmp 0x438630
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x64]
cmp dword [edx], 0
je 0x438644
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x6c], edx
jmp 0x43864b
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0
je 0x438685
mov ecx, dword [ebp - 0x38]
call fcn.004394e0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x43869e
mov ecx, dword [ebp - 0x3c]
call fcn.004394e0
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x20], 0
jge 0x438721
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.0041d490
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422350
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00422580
mov eax, dword [ebp + 8]
jmp 0x438916
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x28], 0
je 0x43886b
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x70], 0
jne 0x438761
jmp 0x43886b
cmp dword [ebp - 0x24], 0
je 0x438866
mov dword [ebp - 0x2c], 0
jmp 0x43877d
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x14
jae 0x438832
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea edx, [ebp - 0xe4]
push edx
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax*4 + 0x4ac268]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x438820
cmp dword [ebp - 0xdc], 0
je 0x438820
push 0x495048
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax*4 + 0x4ac268]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x438820
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.00454bd6
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401490
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x438774
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
jne 0x43884d
mov dword [ebp - 0x7c], 1
jmp 0x438854
mov dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x438864
jmp 0x43886b
jmp 0x43886b
jmp 0x43872f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x24], 0
je 0x4388a9
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call fcn.0041d490
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422350
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00422580
mov eax, dword [ebp + 8]
jmp 0x438916
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret