Function at 0x411d50
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab5b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x70]
push 5
xor eax, eax
mov dword [ebp - 0x5c], 7
push 0x4b1ee4
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00403c50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0xa
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x4b1ef0
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00403c50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0xe
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x4b1f08
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403c50
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x78]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xa0], 0
push eax
mov dword [ebp - 0x9c], 0
call fcn.00413530
push fcn.00404f50
push 3
push 0x18
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
call fcn.0045c4f2
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
push 0x1d
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SELECT__FROM_Win32_DiskDrive
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043cfe0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x411ec8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
push 2
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0x104], 2
call fcn.0040d400
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x98]
mov esi, edi
mov ebx, dword [ebp - 0x94]
cmp edi, ebx
je 0x412202
xorps xmm0, xmm0
mov byte [ebp - 0xf4], 0
movq qword [ebp - 0xec], xmm0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 5
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4b1ee4
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.00413720
mov eax, dword [ebp - 0x78]
cmp eax, dword [esi + 4]
jne 0x411f6c
lea eax, [ebp - 0x28]
push ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push ecx
lea eax, [ebp - 0xb4]
mov ecx, esi
push eax
call fcn.004137d0
mov eax, dword [ebp - 0xb4]
jmp 0x411f79
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
add eax, 0x20
lea ecx, [ebp - 0xd4]
push eax
call fcn.0040eb90
push str.Model
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xa
call fcn.004132b0
mov cl, byte [ebp - 0xd4]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 0xd4], dl
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0xc], eax
mov dword [ebp - 0xcc], ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc8], edx
call fcn.004119c0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x411ff6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
push 0xa
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4b1ef0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.00413720
mov eax, dword [ebp - 0xa8]
cmp eax, dword [esi + 4]
jne 0x41205c
lea eax, [ebp - 0x28]
push ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push ecx
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
call fcn.004137d0
mov eax, dword [ebp - 0xbc]
jmp 0x412069
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0
add eax, 0x20
lea ecx, [ebp - 0xe4]
push eax
call fcn.0040eb90
push str.Partitions
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xc
call fcn.004132b0
mov cl, byte [ebp - 0xe4]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov eax, dword [ebp - 0xdc]
mov byte [ebp - 0xe4], dl
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0xc], eax
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xd8], edx
call fcn.004119c0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4120e6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
push 0xe
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4b1f08
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00413720
mov eax, dword [ebp - 0xac]
cmp eax, dword [esi + 4]
jne 0x41214c
lea eax, [ebp - 0x28]
push ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push ecx
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.004137d0
mov eax, dword [ebp - 0xc4]
jmp 0x412159
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc0], 0
add eax, 0x20
lea ecx, [ebp - 0x8c]
push eax
call fcn.0040eb90
push str.BytesPerSector
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.004132b0
mov cl, byte [ebp - 0x8c]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov eax, dword [ebp - 0x84]
mov byte [ebp - 0x8c], dl
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x80], edx
call fcn.004119c0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4121d0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x104]
call fcn.00413000
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 7
call fcn.004119c0
add esi, 0x20
cmp esi, ebx
jne 0x411ef6
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040eb90
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x7c]
push str.Disks
add ecx, 0x20
call fcn.004132b0
mov cl, byte [ebp - 0x8c]
mov esi, eax
mov dl, byte [esi]
mov byte [esi], cl
mov eax, dword [ebp - 0x84]
mov byte [ebp - 0x8c], dl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x80], edx
call fcn.004119c0
lea ecx, [ebp - 0x104]
call fcn.004119c0
test edi, edi
je 0x412294
push dword [ebp - 0x7c]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.00413670
mov eax, dword [ebp - 0x90]
add esp, 8
sub eax, edi
sar eax, 5
push eax
push edi
call fcn.00413190
mov esi, dword [ebp - 0xa4]
test esi, esi
je 0x4122d2
push dword [ebp - 0x7c]
mov edx, dword [ebp - 0xa0]
push ecx
mov ecx, esi
call fcn.004136d0
mov ecx, dword [ebp - 0x9c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00413250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret 4