Function at 0x6400b530
Capabilities:
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x64022880
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
lea eax, [esp + 0x18]
sub ebx, ebx
push eax
mov edi, 0x64026634
mov dword [esp + 0x3c], ebx
call fcn.6400aae0
push ebx
push ebx
mov dword [esp + 0x74], ebx
call dword [sym.imp.OLE32.DLL_CoInitializeEx]
or eax, eax
jge 0x6400b5d3
mov esi, dword [esp + 0x18]
cmp esi, ebx
mov dword [ebp], esi
je 0x6400b873
lea edi, [esi + 8]
push edi
call dword [sym.imp.kernel32.dll_lmoruc8m2zrx67zbf7ek]
push edi
call dword [sym.imp.kernel32.dll_eghsl6jv8m149ruapla8]
or eax, eax
jne 0x6400b873
mov eax, dword [esi]
cmp eax, ebx
je 0x6400b5b5
push eax
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6400b5c5
push eax
call fcn.64012bfa
add esp, 4
push esi
call fcn.64011d22
add esp, 4
jmp 0x6400b873
lea ecx, [esp + 0x20]
push ecx
push 0x640249a0
push 1
push ebx
push 0x64024a70
mov dword [esp + 0x34], ebx
call dword [sym.imp.OLE32.DLL_CoCreateInstance]
cmp eax, ebx
jl 0x6400b84f
push 0x64028098
push 0xa
push 0x640280bc
mov dword [esp + 0x28], ebx
call fcn.64006b80
add esp, 0xc
lea edx, [esp + 0x30]
push edx
push eax
pop edi
call fcn.6400aae0
mov byte [esp + 0x6c], 1
mov eax, dword [eax]
cmp eax, ebx
je 0x6400b62a
mov eax, dword [eax]
jmp 0x6400b62c
sub eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
lea edi, [esp + 0x30]
push eax
pop esi
mov byte [esp + 0x6c], bl
call fcn.6400ab80
cmp esi, ebx
jge 0x6400b660
mov eax, dword [esp + 0x20]
jmp 0x6400b847
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call fcn.6400e700
call eax
cmp eax, ebx
jge 0x6400b68f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
jmp 0x6400b847
push 0x640280d4
push 0xe
push 0x64028110
mov dword [esp + 0x30], ebx
call fcn.64006890
add esp, 0xc
push eax
lea ebx, [esp + 0x3c]
call fcn.6400aa50
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x78], 2
call fcn.6400ada0
push eax
pop esi
push 0x64028120
push 3
push 0x6402814c
mov byte [esp + 0x78], 3
call fcn.64006890
add esp, 0xc
push eax
lea ebx, [esp + 0x34]
call fcn.6400aa50
mov byte [esp + 0x6c], 4
mov ecx, dword [esi]
sub ebx, ebx
cmp ecx, ebx
je 0x6400b6fc
mov ecx, dword [ecx]
jmp 0x6400b6fe
sub ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x6400b708
mov edx, dword [eax]
jmp 0x6400b70a
sub edx, edx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
lea edi, [esp + 0x24]
push edi
push ebx
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [esp + 0x30]
push eax
pop esi
call fcn.6400ab80
lea edi, [esp + 0x34]
call fcn.6400ab80
lea edi, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.6400ab80
cmp esi, ebx
jge 0x6400b75a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
jmp 0x6400b847
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x6400b81f
mov edi, dword [sym.imp.oleaut32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x2c], ebx
je 0x6400b81f
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esi]
push ebx
push ebx
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.6400ae20
mov edx, dword [ebp + 0x10]
push eax
push esi
call edx
cmp eax, ebx
jl 0x6400b7ba
cmp word [esp + 0x3c], 8
je 0x6400b7db
lea eax, [esp + 0x3c]
push eax
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov ebp, dword [esp + 0x74]
jne 0x6400b770
jmp 0x6400b81f
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.oleaut32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x6400b800
push eax
call fcn.6401e4b0
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 5
call fcn.6400af00
push esi
pop eax
push eax
mov byte [esp + 0x70], bl
call edi
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.OLE32.DLL_CoUninitialize]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [ebp], eax
je 0x6400b86a
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_lmoruc8m2zrx67zbf7ek]
lea edi, [esp + 0x18]
call fcn.6400ab80
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret