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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da92d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x504f68]
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 0x48464c
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x4e9240
push 1
push ebx
push 0x4e9310
mov dword [esp + 0xec], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [esp + 0x14]
jl 0x484639
cmp eax, ebx
je 0x484639
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 0x48462d
cmp eax, ebx
je 0x48462d
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 0x4843bb
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4843ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], edi
mov eax, dword [esp + 0x14]
jmp 0x484640
mov eax, str.select__from_Win32_DiskDrive
lea esi, [esp + 0x24]
call fcn.00478990
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 0x4f53a4
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp eax, ebx
mov eax, dword [esp + 0x20]
jl 0x48460d
cmp eax, ebx
je 0x48460d
mov eax, str.SerialNumber
lea esi, [esp + 0x30]
call fcn.00478990
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 0x4845a9
cmp eax, ebx
je 0x4845a9
cmp dword [esp + 0x28], ebx
je 0x4845a9
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 0x4844a8
cmp word [esp + 0x34], 8
jne 0x4844a8
mov eax, dword [esp + 0x3c]
cmp word [eax], bx
jne 0x4844de
lea eax, [esp + 0x34]
push eax
call esi
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4844c7
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 0x484423
jmp 0x4845bd
push 3
lea ecx, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], ecx
call fcn.0040efe0
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 0x484518
push eax
call fcn.004b3730
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 0x484537
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 0x484558
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 0x484576
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 0x484591
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 0x4845bd
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 0x4845de
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 0x4845fc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x484640
mov byte [esp + 0xd8], 2
cmp eax, ebx
je 0x484621
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x484394
mov byte [esp + 0xd8], bl
jmp 0x48439f
mov dword [esp + 0xd8], edi
cmp eax, ebx
je 0x48464c
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