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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082995
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c6034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
push 2
mov dword [ebp - 0x40], ebx
push 0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
sete al
mov byte [ebx], al
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x10030e2f
mov esi, dword [esi]
push esi
lea ecx, [ebx + 4]
call fcn.1002cdd0
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0x14]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10030e49
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002dae0
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x10030e64
mov eax, dword [eax]
push eax
lea ecx, [ebx + 8]
call fcn.1002cdd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10027d30
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x10030e84
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1002d9b0
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x10030e9d
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0xc]
call fcn.1002cdd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.10027d30
cmp dword [edi + 0x14], 8
lea ecx, [ebx + 0x10]
jb 0x10030ebd
mov edi, dword [edi]
push edi
call fcn.1002cdd0
mov byte [ebp - 4], 8
lea esi, [ebx + 0x14]
mov dword [ebp - 0x34], esi
mov dword [esi], 0
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0x18]
mov dword [ebp - 0x38], eax
mov dword [eax], 0
mov byte [ebp - 4], 0xc
mov dword [ebx + 0x1c], 0
call fcn.10031500
push esi
push 0x10097450
push 1
push 0
push 0x10097460
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x10030feb
mov dword [ebx + 0x1c], esi
call fcn.1003e820
cmp byte [eax + 0x1c], 0
je 0x100312e1
call fcn.1003e820
mov edi, eax
call fcn.10029330
test eax, eax
je 0x10031308
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
push 0x32
push str.Failed_to_create_IWbemLocator_object._Error_code:
call fcn.1002ae70
push esi
lea ecx, [ebp - 0x30]
call fcn.1003eb50
mov esi, eax
call fcn.10029330
test eax, eax
je 0x10031308
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c]
push 0
push 0x100a3438
call fcn.1002ae70
push ecx
push esi
sub esp, 8
mov ecx, edi
call fcn.1003e900
mov byte [ebp - 4], 0xf
or edi, 0xffffffff
mov edx, dword [ebp - 0x2c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030fbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100312e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x100312ea
push 0xc
call fcn.1005c53d
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x17
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test esi, esi
je 0x10031029
push 0x100a6a58
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x10031312
jmp 0x1003102b
xor esi, esi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], esi
test esi, esi
je 0x10031312
mov byte [ebp - 4], 0x18
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.10031bf0
push 0xc
call fcn.1005c53d
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x19
test esi, esi
je 0x10031082
push 0x100a5d9c
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x10031312
jmp 0x10031084
xor esi, esi
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x10031312
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.10031bf0
mov byte [ebp - 4], 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x100310e9
mov eax, dword [esi]
test eax, eax
je 0x100310c7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100310de
push eax
call fcn.1005c4f5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1005c52f
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
cmp dword [eax + 0x14], 8
jb 0x100310fb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002cdd0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.10031bf0
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x10031165
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x1003115e
mov eax, dword [esi]
test eax, eax
je 0x1003113c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10031153
push eax
call fcn.1005c4f5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1005c52f
add esp, 8
mov dword [ebp - 0x2c], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x1003117d
mov eax, dword [eax]
test eax, eax
je 0x1003117d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x10031189
lea eax, [ebx + 4]
push eax
lea ecx, [ebx + 8]
call fcn.10031da0
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebp - 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
test esi, esi
je 0x1003119c
mov eax, dword [esi]
jmp 0x1003119e
xor eax, eax
push dword [ebp - 0x38]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
call edx
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x1003128b
mov dword [ebx + 0x1c], eax
call fcn.1003e820
cmp byte [eax + 0x1c], 0
je 0x10031295
call fcn.1003e820
mov dword [ebp - 0x34], eax
call fcn.10029330
test eax, eax
je 0x10031308
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2c]
push 0x2f
push str.Could_not_connect_to_WMI_provider._Error_code:
call fcn.1002ae70
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.1003eb50
mov dword [ebp - 0x38], eax
call fcn.10029330
test eax, eax
je 0x10031308
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x3c]
push 0
push 0x100a3438
call fcn.1002ae70
push ecx
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
sub esp, 8
call fcn.1003e900
mov byte [ebp - 4], 0x20
mov eax, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003126b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031295
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10031295
push dword [ebx + 0x18]
mov ecx, ebx
call fcn.10031650
mov byte [ebp - 4], 0xc
test esi, esi
je 0x100312e1
lock xadd dword [esi + 8], edi
dec edi
jne 0x100312da
mov eax, dword [esi]
test eax, eax
je 0x100312b8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100312cf
push eax
call fcn.1005c4f5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1005c52f
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c4e7
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.100269b0
push 0x8007000e
call fcn.10046aa0
int3