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

Disassembly:
mov eax, 0x1039a49
call fcn.0102ee48
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0100ac0d
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
lea ecx, [ebp - 0x24]
call fcn.01030b93
push eax
push 0x1006fcc
push 1
push ebx
push 0x100709c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jge 0x1032000
test byte [0x103e19c], 1
je 0x10322c6
push eax
push 0x1004374
push 0xbf
jmp 0x10322b5
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x28], 0xa
jge 0x1032131
push dword [ebp + 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0100ac0d
mov esi, eax
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 3
push dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
call fcn.0100ac0d
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call fcn.0100ac0d
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.010301f4
mov ecx, dword [esi]
cmp ecx, ebx
je 0x103205c
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
jmp 0x103205f
mov dword [ebp - 0x2c], ebx
mov edi, dword [edi]
cmp edi, ebx
je 0x103206c
mov ecx, dword [edi]
mov dword [ebp - 0x30], ecx
jmp 0x103206f
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
cmp edx, ebx
je 0x103207c
mov edx, dword [edx]
jmp 0x103207e
xor edx, edx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1032089
mov esi, dword [ecx]
jmp 0x103208b
xor esi, esi
mov ecx, dword [eax]
lea edi, [ebp - 0x20]
push edi
push ebx
push dword [ebp - 0x2c]
push ebx
push ebx
push dword [ebp - 0x30]
push edx
push esi
push eax
call dword [ecx + 0xc]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x10320b8
call fcn.0100bf5b
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x10320cb
call fcn.0100bf5b
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x10320de
call fcn.0100bf5b
mov dword [ebp - 0x3c], ebx
cmp esi, ebx
jge 0x1032155
cmp esi, 0x800706bf
je 0x10320fa
cmp esi, 0x80070767
je 0x10320fa
cmp esi, 0x80070005
jne 0x1032131
test byte [0x103e19c], 1
je 0x103211e
push 0x1004374
push 0xc0
push dword [0x103e194]
push dword [0x103e190]
call fcn.01008005
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x28]
jmp 0x1032003
cmp dword [ebp - 0x18], ebx
jge 0x1032155
test byte [0x103e19c], 1
je 0x10322c6
push dword [ebp - 0x18]
push 0x1004374
push 0xc1
jmp 0x10322b5
test byte [0x103e19c], 2
je 0x103218a
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x103216c
call fcn.0102b53c
jmp 0x103216e
xor eax, eax
push eax
push 0x1004374
push 0xc2
push dword [0x103e194]
push dword [0x103e190]
call fcn.0102f3c3
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
cmp dword [ebp + 0xc], ebx
je 0x10321a0
push dword [ebp + 0xc]
call esi
pop ecx
cmp eax, 1
jae 0x10321c8
cmp dword [ebp + 0x10], ebx
je 0x10321b0
push dword [ebp + 0x10]
call esi
pop ecx
cmp eax, 1
jae 0x10321c8
cmp dword [ebp + 0x14], ebx
je 0x103227e
push dword [ebp + 0x14]
call esi
pop ecx
cmp eax, 1
jb 0x103227e
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x40], ebx
push dword [ebp + 0xc]
push dword [ebp + 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0102f45b
mov dword [ebp - 0x18], eax
cmp eax, ebx
jge 0x1032205
test byte [0x103e19c], 1
je 0x10322c6
push eax
push 0x1004374
push 0xc3
jmp 0x10322b5
mov edi, dword [ebp - 0x40]
cmp edi, ebx
je 0x1032216
push edi
call esi
pop ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], edi
cmp dword [ebp - 0x1c], ebx
je 0x103222a
push dword [ebp - 0x1c]
call esi
pop ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0x10], ebx
je 0x103223e
push dword [ebp + 0x10]
call esi
pop ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], 2
push 0x800
lea eax, [ebp - 0x78]
push eax
push 3
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x18], eax
cmp edi, ebx
je 0x103226e
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x1c], ebx
je 0x103229a
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x103229a
push 0x800
push 0xffffffffffffffff
push 3
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
jge 0x10322de
test byte [0x103e19c], 1
je 0x10322c6
push dword [ebp - 0x18]
push 0x1004374
push 0xc4
push dword [0x103e194]
push dword [0x103e190]
call fcn.0101622b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x10322d9
call fcn.0100bf5b
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
jmp 0x103233c
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1032339
call fcn.0100bf5b
mov dword [ebp - 0x14], ebx
jmp 0x1032339
mov dword [ebp - 4], ebx
push ebx
lea ecx, [ebp - 0x24]
call fcn.01030bb0
cmp dword [ebp - 0x18], ebx
jge 0x103235a
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x103235a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1032373
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x14