Function at 0x41f520
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 0x41f76c
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 0x41f76c
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 0x41f76c
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
cmp ebp, ebx
jne 0x41f5c5
mov esi, 0x8007000e
cmp ebp, ebx
je 0x41f76c
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41f76c
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 0x41f5b1
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 0x41f76c
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 0x41f76c
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 0x41f76c
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 0x41f73c
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 0x41f7d4
mov esi, dword [esp + 0x10]
cmp esi, ebx
jbe 0x41f7dc
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00445e6c
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41f8da
mov ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, ecx
cmp ecx, ebx
je 0x41f71a
lea ebx, [ebx]
mov byte [eax], bl
add eax, 1
sub ecx, 1
jne 0x41f710
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 0x41f7dc
cmp edi, ebx
je 0x41f76c
xor ebp, ebp
cmp dword [esp + 0x10], ebx
jbe 0x41f763
mov eax, dword [edi + ebp*4]
cmp eax, ebx
je 0x41f75a
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 0x41f748
push edi
call fcn.00445adc
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41f77c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41f78c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41f79c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41f7ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41f7bc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x41f8ee
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp eax, ebx
je 0x41f8e4
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jne 0x41f834
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 0x41f73c
cmp ebp, ebx
jne 0x41f834
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 0x41f73c
jmp 0x41f881
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 0x41f73c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, eax
sub edx, dword [esp + 0x40]
mov ebx, ecx
sbb ebx, dword [esp + 0x44]
add dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
adc dword [esp + 0x3c], ebx
xor ebx, ebx
xor ebp, ebp
cmp dword [esp + 0x10], ebx
jbe 0x41f8a7
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 0x41f890
cmp edi, ebx
je 0x41f8b6
push edi
call fcn.00445adc
add esp, 4
xor edi, edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 1
mov dword [esp + 0x28], eax
jle 0x41f693
jmp 0x41f73c
mov esi, 0x8007000e
jmp 0x41f73c
mov esi, 0x80041002
jmp 0x41f73c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ebx
add esp, 0x40
ret