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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548cdf
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x57f0b4]
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 - 0x14], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x64], 0
mov esi, dword [sym.imp.ole32.dll_CoUninitialize]
call esi
push 0x56aee8
lea ecx, [ebp - 0x30]
call fcn.00417cf0
mov dword [ebp - 4], 1
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4c5824
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.00417cb0
jmp 0x4c5bff
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x4c5847
call esi
jmp 0x4c5bf4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x559c4c
push 1
push 0
push 0x559c5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4c5840
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.004b6e60
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4c5888
mov edx, dword [eax]
jmp 0x4c588a
xor edx, edx
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x40]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4c58fc
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4c58f5
test esi, esi
je 0x4c58f5
mov eax, dword [esi]
test eax, eax
je 0x4c58d3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4c58ea
push eax
call fcn.005186a1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005186d6
add esp, 8
mov dword [ebp - 0x3c], 0
test edi, edi
js 0x4c5924
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x40]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4c592c
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
jmp 0x4c5be7
push 0xc
mov dword [ebp - 0x48], 0
call fcn.005186a6
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4c5974
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.SELECT__FROM_Win32_BIOS
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.00518160
mov dword [esi], eax
jmp 0x4c5976
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
test esi, esi
je 0x4c5c30
mov byte [ebp - 4], 4
push 0xc
call fcn.005186a6
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x4c59ca
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x57518c
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.00518160
mov dword [edi], eax
jmp 0x4c59cc
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x4c5c3a
mov byte [ebp - 4], 6
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x40]
push edx
push 0
push 0x30
push dword [esi]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, eax
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x4c5a40
mov ecx, dword [edi]
test ecx, ecx
je 0x4c5a1b
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4c5a32
push eax
call fcn.005186a1
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.005186d6
add esp, 8
or eax, 0xffffffff
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 1
lock xadd dword [esi + 8], eax
dec eax
jne 0x4c5a88
mov eax, dword [esi]
test eax, eax
je 0x4c5a66
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4c5a7d
push eax
call fcn.005186a1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005186d6
add esp, 8
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jl 0x4c591b
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], 0
je 0x4c5bd2
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004045d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x48]
push edx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x34], 0
je 0x4c5bc6
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1c]
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
js 0x4c5ba6
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
js 0x4c5ba6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x4c5b78
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
push 0
push edx
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
push edx
push 0
push str.SerialNumber
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 8
jne 0x4c5b72
cmp word [ebp - 0x60], 1
je 0x4c5b72
mov esi, dword [ebp - 0x58]
push esi
call fcn.00418010
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00417e80
lea eax, [ebp - 0x60]
push eax
call edi
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x4c5ba6
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00404390
cmp dword [ebp - 0x48], 0
jne 0x4c5ab7
jmp 0x4c5bd2
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.00417cb0
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00404390
jmp 0x4c5c06
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00404390
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [sym.imp.ole32.dll_CoUninitialize]
call eax
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.00417cb0
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00417bc0
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.00518690
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00518140
push 0x8007000e
call fcn.00518140
int3