Function at 0x411dc0
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 0x412008
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 0x412008
lea eax, [esp + 0x14]
push eax
push 0x5381e8
push 1
push ebx
push 0x5382b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x412008
push 0x546b58
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
cmp ebp, ebx
jne 0x411e65
mov esi, 0x8007000e
cmp ebp, ebx
je 0x412008
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x412008
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 0x411e51
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 0x538288
push 1
push ebx
push 0x538328
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x412008
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x5382a8
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jl 0x412008
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 0x412008
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 0x411fda
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 0x412070
mov esi, dword [esp + 0x10]
cmp esi, ebx
jbe 0x412078
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ee78a
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41216b
mov ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, ecx
cmp ecx, ebx
je 0x411fb8
lea ebx, [ebx]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x411fb0
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 0x412078
cmp edi, ebx
je 0x412008
xor ebp, ebp
cmp dword [esp + 0x10], ebx
jbe 0x411fff
mov eax, dword [edi + ebp*4]
cmp eax, ebx
je 0x411ff8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + ebp*4], ebx
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x411fe6
push edi
call fcn.004ed1ab
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x412018
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x412028
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x412038
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x412048
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x412058
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x41217f
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp eax, ebx
je 0x412175
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jne 0x4120d0
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 0x411fda
cmp ebp, ebx
jne 0x4120d0
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 0x411fda
jmp 0x41211d
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 0x411fda
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 0x41213a
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
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x412125
cmp edi, ebx
je 0x412149
push edi
call fcn.004ed1ab
add esp, 4
xor edi, edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 1
mov dword [esp + 0x28], eax
jle 0x411f33
jmp 0x411fda
mov esi, 0x8007000e
jmp 0x411fda
mov esi, 0x80041002
jmp 0x411fda
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