Function at 0x41f490
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 0x41f6dc
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 0x41f6dc
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 0x41f6dc
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
cmp ebp, ebx
jne 0x41f535
mov esi, 0x8007000e
cmp ebp, ebx
je 0x41f6dc
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41f6dc
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 0x41f521
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 0x41f6dc
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 0x41f6dc
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 0x41f6dc
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 0x41f6ac
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 0x41f744
mov esi, dword [esp + 0x10]
cmp esi, ebx
jbe 0x41f74c
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044630c
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41f84a
mov ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, ecx
cmp ecx, ebx
je 0x41f68a
lea ebx, [ebx]
mov byte [eax], bl
add eax, 1
sub ecx, 1
jne 0x41f680
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 0x41f74c
cmp edi, ebx
je 0x41f6dc
xor ebp, ebp
cmp dword [esp + 0x10], ebx
jbe 0x41f6d3
mov eax, dword [edi + ebp*4]
cmp eax, ebx
je 0x41f6ca
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 0x41f6b8
push edi
call fcn.00445f7c
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41f6ec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41f6fc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41f70c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41f71c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41f72c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x41f85e
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp eax, ebx
je 0x41f854
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jne 0x41f7a4
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 0x41f6ac
cmp ebp, ebx
jne 0x41f7a4
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 0x41f6ac
jmp 0x41f7f1
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 0x41f6ac
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 0x41f817
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 0x41f800
cmp edi, ebx
je 0x41f826
push edi
call fcn.00445f7c
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 0x41f603
jmp 0x41f6ac
mov esi, 0x8007000e
jmp 0x41f6ac
mov esi, 0x80041002
jmp 0x41f6ac
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