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

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
push ebp
push esi
push edi
push ebx
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
xor edi, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
cmp esi, ebx
jl 0x41ef0c
push ebx
push ebx
push ebx
push 3
push 1
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
cmp esi, ebx
jl 0x41ef0c
lea eax, [esp + 0x14]
push eax
push 0x481a18
push 1
push ebx
push 0x481ae8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x41ef0c
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
cmp ebp, ebx
jne 0x41ed65
mov esi, 0x8007000e
cmp ebp, ebx
je 0x41ef0c
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41ef0c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41ed51
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x20]
push eax
push 0x481ab8
push 1
push ebx
push 0x481b58
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x41ef0c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x481ad8
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41ef0c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
push ebx
push ebx
push str.Win32_PerfRawData_PerfDisk_LogicalDisk
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41ef0c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x41eedc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, 0x8004103c
jne 0x41ef74
mov esi, dword [esp + 0x10]
cmp esi, ebx
jbe 0x41ef7c
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004455f8
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41f07a
mov ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, ecx
cmp ecx, ebx
je 0x41eeba
lea ebx, [ebx]
mov byte [eax], bl
add eax, 1
sub ecx, 1
jne 0x41eeb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
jge 0x41ef7c
cmp edi, ebx
je 0x41ef0c
xor ebp, ebp
cmp dword [esp + 0x10], ebx
jbe 0x41ef03
mov eax, dword [edi + ebp*4]
cmp eax, ebx
je 0x41eefa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + ebp*4], ebx
add ebp, 1
cmp ebp, dword [esp + 0x10]
jb 0x41eee8
push edi
call fcn.00446b64
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41ef1c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41ef2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41ef3c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41ef4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41ef5c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x41f08e
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp eax, ebx
je 0x41f084
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jne 0x41efd4
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x38]
push edx
push str.DiskBytesPerSec
push eax
mov eax, dword [ecx + 0x6c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41eedc
cmp ebp, ebx
jne 0x41efd4
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + ecx*4 - 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x80]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x41eedc
jmp 0x41f021
mov eax, dword [esp + 0x10]
mov eax, dword [edi + eax*4 - 4]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41eedc
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, eax
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
sbb edx, dword [esp + 0x44]
add dword [esp + 0x38], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
adc dword [esp + 0x3c], edx
xor ebp, ebp
cmp dword [esp + 0x10], ebx
jbe 0x41f047
lea esp, [esp]
mov eax, dword [edi + ebp*4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + ebp*4], ebx
add ebp, 1
cmp ebp, dword [esp + 0x10]
jb 0x41f030
cmp edi, ebx
je 0x41f056
push edi
call fcn.00446b64
add esp, 4
xor edi, edi
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 1
mov dword [esp + 0x28], eax
jle 0x41ee33
jmp 0x41eedc
mov esi, 0x8007000e
jmp 0x41eedc
mov esi, 0x80041002
jmp 0x41eedc
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push 3
push eax
push ecx
call fcn.0044ea50
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
pop ebx
add esp, 0x40
ret