Function at 0x427c90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5876e0]
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 byte [ebp - 0x2a], dl
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
push 0x5637cb
movlpd qword [ebp - 0x40], xmm0
mov byte [eax], 0
call fcn.0041f160
mov edi, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x34], 0
imul ecx
mov ebx, 1
sar edx, 2
mov eax, edx
mov dword [ebp - 0x30], ebx
shr eax, 0x1f
add eax, edx
je 0x427fca
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
xor ecx, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], edi
lea esp, [esp]
cmp eax, ecx
jbe 0x427fc0
push 0xffffffffffffffff
lea eax, [edx + esi]
mov dword [ebp - 0x14], 0xf
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0041eda0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x427f70
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.004260a0
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.0041ecf0
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.00426130
lea ecx, [eax + 1]
cmp dword [ebp - 0x18], ecx
jb 0x427fb6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
cmp dword [ebp - 0x18], 0
je 0x427f70
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov eax, esp
push 0xffffffffffffffff
push 0
push eax
call fcn.00423380
call fcn.00427460
add esp, 0x18
cmp eax, 4
je 0x427f70
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x427f70
cmp byte [ebp - 0x2a], 0
je 0x427e3c
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041eda0
call fcn.00428030
add esp, 0x18
test al, al
je 0x427f70
cmp byte [ebp + 0x14], 0
je 0x427ea8
push str.PropSys.dll
lea ecx, [ebp - 0x64]
call fcn.0041f930
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x28]
or ebx, 2
lea esi, [ebp - 0x64]
mov dword [ebp - 0x30], ebx
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041eda0
lea ecx, [ebp - 0x80]
call fcn.004253d0
add esp, 0x18
mov dword [ebp - 4], 4
or ebx, 4
mov edx, esi
mov dword [ebp - 0x30], ebx
mov ecx, eax
call fcn.00428400
mov byte [ebp - 0x29], 1
test al, al
jne 0x427eac
mov byte [ebp - 0x29], 0
test bl, 4
je 0x427edc
and ebx, 0xfffffffb
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x30], ebx
jb 0x427ec8
push dword [ebp - 0x80]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov dword [ebp - 4], 2
test bl, 2
je 0x427eff
and ebx, 0xfffffffd
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x30], ebx
jb 0x427eff
push dword [ebp - 0x64]
call fcn.00459190
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x427f70
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041eda0
call fcn.004271e0
mov edi, edx
add esp, 0x18
mov esi, eax
cmp dword [ebp - 0x44], edi
jg 0x427f70
jl 0x427f40
cmp dword [ebp - 0x4c], esi
jae 0x427f70
push 2
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.00423380
mov ecx, dword [ebp - 0x48]
push eax
call fcn.00423c10
cmp dword [ebp - 0x50], 0x10
jb 0x427f6a
push dword [ebp - 0x64]
call fcn.00459190
add esp, 4
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x427f85
push dword [ebp - 0x28]
call fcn.00459190
add esp, 4
mov edi, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
mov ecx, edi
inc dword [ebp - 0x34]
sub ecx, esi
add dword [ebp - 0x38], 0x18
imul ecx
mov ecx, dword [ebp - 0x34]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x427fca
mov edx, dword [ebp - 0x38]
jmp 0x427d40
push str.invalid_string_position
call fcn.00528786
push str.invalid_vector_T__subscript
call fcn.00528786
test esi, esi
je 0x428006
cmp esi, edi
je 0x427ffd
cmp dword [esi + 0x14], 0x10
jb 0x427fe2
push dword [esi]
call fcn.00459190
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x427fd2
mov esi, dword [ebp + 8]
push esi
call fcn.00459190
add esp, 4
mov eax, dword [ebp - 0x48]
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.0050904e
mov esp, ebp
pop ebp
ret