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

Disassembly:
push 0x40
mov eax, 0x1060d29
call fcn.0104f320
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
push 0x1002678
push 0x10164e4
push 0x4000000
mov byte [ebp - 4], 4
call fcn.0104a7da
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 0x1018b34
push 1
push ebx
push 0x1018c04
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bb44
push 0x1016498
push 0x1016474
push eax
call fcn.0104a504
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x104bb09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x104bb1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x104bb2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x104bb3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
call fcn.0104f3d4
ret
mov esi, dword [ebp - 0x24]
push 0x1016468
lea ecx, [ebp - 0x30]
call fcn.0104b1ba
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
mov byte [ebp - 4], 5
call dword [ecx + 0xc]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
call esi
cmp dword [ebp - 0x18], ebx
jge 0x104bb94
push 0x1016430
push 0x101640c
push dword [ebp - 0x18]
jmp 0x104baf0
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bbbd
push 0x10163a8
push 0x1016380
jmp 0x104baef
mov edi, dword [ebp - 0x20]
push 0x101635c
lea ecx, [ebp - 0x38]
call fcn.0104b1ba
mov dword [ebp - 0x30], eax
push 0x1016358
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0104b1ba
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x30
push ecx
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 7
call dword [eax + 0x50]
push dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
call esi
push dword [ebp - 0x38]
mov byte [ebp - 4], 4
call esi
cmp dword [ebp - 0x18], ebx
jge 0x104bc25
push 0x1016300
push 0x10162d8
jmp 0x104bb8c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bc50
push 0x1016278
push 0x1016254
jmp 0x104baef
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x4c]
push edx
push ebx
push 0x1016238
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bc7b
push 0x10161b0
push 0x1016188
jmp 0x104baef
push 8
pop eax
cmp ax, word [ebp - 0x4c]
je 0x104bc9b
mov eax, 0x8000ffff
push 0x1016100
mov dword [ebp - 0x18], eax
push 0x10160d8
jmp 0x104baef
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
add ecx, 0xa0
call fcn.0104b505
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4c]
push eax
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x4c]
push edx
push ebx
push 0x10160cc
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bce4
push 0x1016050
push 0x101602c
jmp 0x104baef
push 8
pop eax
cmp ax, word [ebp - 0x4c]
je 0x104bd04
mov eax, 0x8000ffff
push 0x1015fb0
mov dword [ebp - 0x18], eax
push 0x1015f88
jmp 0x104baef
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
add ecx, 0xa4
call fcn.0104b505
lea eax, [ebp - 0x4c]
push eax
call edi
cmp dword [ebp - 0x14], ebx
je 0x104bd2b
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.01030378
cmp dword [ebp - 0x1c], ebx
je 0x104bd3a
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.01030378
mov edi, dword [ebp - 0x20]
push 0x1015f6c
lea ecx, [ebp - 0x30]
call fcn.0104b1ba
mov dword [ebp - 0x38], eax
push 0x1016358
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.0104b1ba
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x30
push ecx
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 9
call dword [eax + 0x50]
push dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
call esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 4
call esi
cmp dword [ebp - 0x18], ebx
jge 0x104bda2
push 0x1015f28
push 0x1015f04
jmp 0x104bb8c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bdcd
push 0x1015eb8
push 0x1015e90
jmp 0x104baef
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x4c]
push edx
push ebx
push 0x1015e84
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104bdf8
push 0x1015e20
push 0x1015dfc
jmp 0x104baef
push 8
pop eax
cmp ax, word [ebp - 0x4c]
je 0x104be18
mov eax, 0x8000ffff
push 0x1015d98
mov dword [ebp - 0x18], eax
push 0x1015d74
jmp 0x104baef
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0xa8]
call fcn.0104b505
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4c]
push eax
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x4c]
push edx
push ebx
push 0x1015d5c
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x104be61
push 0x1015ce8
push 0x1015cc4
jmp 0x104baef
push 8
pop eax
cmp ax, word [ebp - 0x4c]
je 0x104be81
mov eax, 0x8000ffff
push 0x1015c50
mov dword [ebp - 0x18], eax
push 0x1015c28
jmp 0x104baef
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0xac]
call fcn.0104b505
lea eax, [ebp - 0x4c]
push eax
call esi
jmp 0x104baf8