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

Disassembly:
push 0xffffffffffffffff
push 0x608138
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
mov eax, dword [0x6aae14]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
je 0x4c56ed
push ebx
push ebx
mov byte [eax], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80070057
je 0x4c5702
cmp eax, 0x8007000e
je 0x4c5702
cmp eax, 0x8000ffff
je 0x4c5702
cmp eax, 0x80010106
je 0x4c5702
cmp eax, ebx
jge 0x4c5702
push eax
mov eax, dword [esp + 0x58]
push str._PCI__Failed_to_initialize_COM_library._Error_code__0x_x
push eax
call fcn.005dfb23
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x4c574c
cmp eax, 0x80010119
je 0x4c574c
mov ecx, dword [esp + 0x54]
push eax
push str._PCI__Failed_to_initialize_security._Error_code__0x_x
push ecx
call fcn.005dfb23
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea edx, [esp + 0x1c]
push edx
push 0x66cf30
push 1
push ebx
push 0x66d000
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4c5779
push eax
mov eax, dword [esp + 0x58]
push str._PCI__CoCreateInstance_of_CLSID_WbemLocator_Failed._Error_code__0x_x
push eax
jmp 0x4c5729
push str.ROOTCIMV2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
call fcn.004031a0
mov eax, dword [eax]
mov dword [esp + 0x48], ebx
cmp eax, ebx
je 0x4c5799
mov ecx, dword [eax]
jmp 0x4c579b
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00403250
cmp esi, ebx
jge 0x4c57f6
mov ecx, dword [esp + 0x54]
push esi
push str._PCI__Could_not_ConnectServer._Error_code__0x_x
push ecx
call fcn.005dfb23
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
je 0x4c5731
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4c5731
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x4c584b
mov edx, dword [esp + 0x54]
push eax
push str._PCI__Could_not_CoSetProxyBlanket._Error_code__0x_x
push edx
call fcn.005dfb23
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
je 0x4c5832
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4c5731
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4c5731
push str.SELECT__FROM_win32_computersystemproduct
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
call fcn.004c51c0
mov esi, eax
push 0x64298c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 1
call fcn.004c51c0
mov ecx, dword [esi]
mov byte [esp + 0x48], 2
cmp ecx, ebx
je 0x4c5884
mov ecx, dword [ecx]
jmp 0x4c5886
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4c5890
mov edx, dword [eax]
jmp 0x4c5892
xor edx, edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
lea ebp, [esp + 0x10]
push ebp
push ebx
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00403250
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00403250
cmp esi, ebx
jge 0x4c58f4
mov ecx, dword [esp + 0x54]
push esi
push str._PCI__Query_for_Identification_Number_failed._Error_code__0x_x
push ecx
call fcn.005dfb23
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
je 0x4c5832
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4c5832
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x4c59b5
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esp, [esp]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x18]
push edx
push 1
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x24], ebx
je 0x4c59b1
cmp ecx, ebx
je 0x4c59b1
mov edx, dword [ecx]
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
push ebx
push str.IdentifyingNumber
push ecx
mov ecx, dword [edx + 0x10]
call ecx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4c596f
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebx
call fcn.004da960
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
jne 0x4c5984
lea eax, [esp + 0x30]
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4c5910
mov ecx, dword [esp + 0x14]
jmp 0x4c59b5
mov esi, dword [esp + 0x50]
mov edx, esi
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4c5990
push esi
call fcn.004c3d80
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e0865
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp edx, ebx
je 0x4c59cd
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
cmp edx, ebx
je 0x4c59e5
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ebx
je 0x4c59f5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4c5a01
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret