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

Disassembly:
push 0xffffffffffffffff
push 0x620a2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jl 0x51b66d
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
mov edi, 1
push eax
push 0x64ebb8
push edi
push ebx
push 0x64eba8
mov dword [esp + 0x5c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x51b651
cmp dword [esp + 0x10], ebx
je 0x51b651
mov dword [esp + 0x14], ebx
push 0xc
mov byte [esp + 0x4c], 1
call fcn.005f6c5c
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x48], 2
je 0x51b157
push 0x6d71b4
mov ecx, eax
call fcn.0051b720
jmp 0x51b159
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x18], eax
jne 0x51b174
push 0x8007000e
call fcn.005ef655
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x51b181
mov eax, dword [eax]
jmp 0x51b183
xor eax, eax
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x14]
push esi
push ebx
mov edx, dword [ecx]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [edx + 0xc]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0051b690
cmp esi, ebx
jl 0x51b621
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x51b621
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x51b1fe
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51b1e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b66d
jmp 0x51b667
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push 0x6d7180
push eax
mov byte [esp + 0x5c], 4
call dword [ecx + 0x48]
cmp eax, ebx
jl 0x51b5de
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x51b5de
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x1c]
mov byte [esp + 0x4c], 5
push edx
push edi
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp esi, ebx
jl 0x51b265
cmp eax, ebx
je 0x51b265
cmp dword [esp + 0x20], edi
je 0x51b282
cmp eax, ebx
mov byte [esp + 0x48], 4
je 0x51b274
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jne 0x51b586
mov eax, dword [esp + 0x1c]
jmp 0x51b231
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005f6c5c
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 6
je 0x51b2b4
push 0x6d716c
mov ecx, eax
call fcn.0051b6e0
mov esi, eax
jmp 0x51b2b6
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51b2cd
push 0x8007000e
call fcn.005ef655
cmp esi, ebx
mov byte [esp + 0x48], 7
je 0x51b2da
mov ecx, dword [esi]
jmp 0x51b2dc
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x24]
push ebx
push edi
mov edx, dword [eax]
lea edi, [esp + 0x38]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x48], 5
je 0x51b305
mov ecx, esi
call fcn.0051b760
cmp edi, ebx
jl 0x51b568
mov cl, byte [esp + 0x38]
lea edx, [esp + 0x30]
push edx
mov byte [ebp], cl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005f6c5c
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 8
je 0x51b346
push 0x6d7158
mov ecx, eax
call fcn.0051b6e0
mov esi, eax
jmp 0x51b348
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51b35f
push 0x8007000e
call fcn.005ef655
cmp esi, ebx
mov byte [esp + 0x48], 9
je 0x51b36c
mov ecx, dword [esi]
jmp 0x51b36e
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x24]
push ebx
push edi
mov edx, dword [eax]
lea edi, [esp + 0x38]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x48], 5
je 0x51b397
mov ecx, esi
call fcn.0051b760
cmp edi, ebx
jl 0x51b568
mov cl, byte [esp + 0x38]
lea edx, [esp + 0x30]
push edx
mov byte [ebp + 1], cl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005f6c5c
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0x48], 0xa
je 0x51b3f9
push 0x6d714c
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.005ef584
cmp eax, ebx
mov dword [esi], eax
jne 0x51b3fb
mov eax, 0x6d714c
test eax, eax
je 0x51b3fb
push 0x8007000e
call fcn.005ef655
jmp 0x51b3fb
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51b412
push 0x8007000e
call fcn.005ef655
cmp esi, ebx
mov byte [esp + 0x48], 0xb
je 0x51b41f
mov ecx, dword [esi]
jmp 0x51b421
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x24]
push ebx
push edi
mov edx, dword [eax]
lea edi, [esp + 0x38]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x48], 5
je 0x51b44a
mov ecx, esi
call fcn.0051b760
cmp edi, ebx
jl 0x51b568
cmp word [esp + 0x30], 0x2011
jne 0x51b568
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp eax, 0x800000
mov dword [ebp + 8], eax
jbe 0x51b4c4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51b486
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51b499
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51b4ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b66d
jmp 0x51b667
add eax, 4
push eax
call fcn.005f6c5c
add esp, 4
cmp eax, ebx
mov dword [ebp + 4], eax
jne 0x51b528
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51b4ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51b4fd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51b50f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b66d
jmp 0x51b667
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], 1
mov byte [ecx + eax], bl
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov byte [edx + eax + 1], bl
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov byte [ecx + edx + 2], bl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov byte [eax + ecx + 3], bl
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51b586
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51b59f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51b5b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b5c7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51b5f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51b609
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b66d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51b66d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51b639
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b66d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51b66d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51b66d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret