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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5274cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
or edi, 0xffffffff
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jl 0x4cbf7c
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x537268
push 1
push ebx
push 0x537338
mov dword [esp + 0xec], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [esp + 0x14]
jl 0x4cbf69
cmp eax, ebx
je 0x4cbf69
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xf4], 1
mov ecx, dword [eax]
push str.rootCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
mov eax, dword [esp + 0x18]
jl 0x4cbf5d
cmp eax, ebx
je 0x4cbf5d
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 0x4cbceb
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4cbcdb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], edi
mov eax, dword [esp + 0x14]
jmp 0x4cbf70
mov eax, str.select__from_Win32_DiskDrive
lea esi, [esp + 0x24]
call fcn.004cc930
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x20]
push edx
push ebx
mov byte [esp + 0xe0], 3
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov ecx, dword [eax]
push 0x30
push esi
push 0x555704
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp eax, ebx
mov eax, dword [esp + 0x20]
jl 0x4cbf3d
cmp eax, ebx
je 0x4cbf3d
mov eax, str.SerialNumber
lea esi, [esp + 0x30]
call fcn.004cc930
mov edi, dword [esp + 0x30]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xe0], 5
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jl 0x4cbed9
cmp eax, ebx
je 0x4cbed9
cmp dword [esp + 0x28], ebx
je 0x4cbed9
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xe4], 6
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push edi
push eax
call edx
cmp eax, ebx
jl 0x4cbdd8
cmp word [esp + 0x34], 8
jne 0x4cbdd8
mov eax, dword [esp + 0x3c]
cmp word [eax], bx
jne 0x4cbe0e
lea eax, [esp + 0x34]
push eax
call esi
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4cbdf7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x64
mov dword [esp + 0x2c], eax
jl 0x4cbd53
jmp 0x4cbeed
push 3
lea ecx, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], ecx
call fcn.004cc7d0
mov edx, dword [esp + 0x48]
mov eax, dword [ebp + 8]
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x4cbe48
push eax
call fcn.00502493
add esp, 4
lea edx, [esp + 0x34]
push edx
call esi
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4cbe67
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4cbe88
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call esi
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4cbea6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4cbec1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esp + 0xd8], 4
cmp eax, ebx
je 0x4cbeed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4cbf0e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call esi
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4cbf2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x4cbf70
mov byte [esp + 0xd8], 2
cmp eax, ebx
je 0x4cbf51
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4cbcc4
mov byte [esp + 0xd8], bl
jmp 0x4cbccf
mov dword [esp + 0xd8], edi
cmp eax, ebx
je 0x4cbf7c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret