Function at 0x458b50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.004587a0
test al, al
je 0x458fc9
mov eax, esi
call fcn.00454584
test eax, eax
je 0x458fc9
lea edx, [ebp - 0x5e]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebp - 0x5e]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x90]
lea eax, [ebp - 0x5e]
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
test eax, eax
jne 0x458fc9
mov eax, dword [esi + 0x78]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x56]
sub edx, dword [ebp - 0x5e]
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x78]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x52]
sub edx, dword [ebp - 0x5a]
sub eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x78]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x56]
sub edx, dword [ebp - 0x5e]
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x78]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x52]
sub edx, dword [ebp - 0x5a]
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jle 0x458c17
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub dword [eax], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jle 0x458c27
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub dword [eax], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jle 0x458c37
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
sub dword [eax], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jle 0x458c47
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
sub dword [eax], edx
xor eax, eax
push ebp
push 0x458fc2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, esi
call fcn.00454584
mov edi, eax
dec edi
test edi, edi
jl 0x458eec
inc edi
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00454548
mov ebx, eax
cmp byte [ebx + 0x57], 0
jne 0x458cbd
test byte [ebx + 0x1c], 0x10
je 0x458ee2
test byte [ebx + 0x51], 4
jne 0x458ee2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00458a8c
movzx eax, byte [ebx + 0x5b]
sub al, 1
jb 0x458cf0
sub al, 2
jb 0x458ce4
sub al, 2
je 0x458cea
jmp 0x458d53
mov byte [ebp - 0x4d], 1
jmp 0x458d57
mov byte [ebp - 0x4d], 2
jmp 0x458d57
movzx eax, byte [ebx + 0x61]
and al, byte [0x458fd4]
movzx edx, byte [0x458fd4]
cmp dl, al
jne 0x458d4d
mov byte [ebp - 0x4d], 1
cmp dword [ebp - 0x40], 0
jle 0x458d2a
mov eax, dword [ebx + 0x78]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x56]
sub edx, dword [ebp - 0x5e]
sub edx, eax
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x44], 0
jle 0x458d57
mov eax, dword [ebx + 0x78]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x56]
sub edx, dword [ebp - 0x5e]
add edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x44], edx
jmp 0x458d57
mov byte [ebp - 0x4d], 0
jmp 0x458d57
mov byte [ebp - 0x4d], 3
movzx eax, byte [ebx + 0x5b]
sub al, 1
jb 0x458d75
add al, 0xfe
sub al, 2
jb 0x458d69
je 0x458d6f
jmp 0x458dd8
mov byte [ebp - 0x4e], 1
jmp 0x458ddc
mov byte [ebp - 0x4e], 2
jmp 0x458ddc
movzx eax, byte [ebx + 0x61]
and al, byte [0x458fd8]
movzx edx, byte [0x458fd8]
cmp dl, al
jne 0x458dd2
mov byte [ebp - 0x4e], 1
cmp dword [ebp - 0x48], 0
jle 0x458daf
mov eax, dword [ebx + 0x78]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x52]
sub edx, dword [ebp - 0x5a]
sub edx, eax
sub edx, dword [ebp - 0x48]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x4c], 0
jle 0x458ddc
mov eax, dword [ebx + 0x78]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x52]
sub edx, dword [ebp - 0x5a]
add edx, dword [ebp - 0x4c]
sub edx, eax
mov dword [ebp - 0x4c], edx
jmp 0x458ddc
mov byte [ebp - 0x4e], 0
jmp 0x458ddc
mov byte [ebp - 0x4e], 3
movzx eax, byte [ebp - 0x4d]
dec eax
sub al, 2
jb 0x458de9
je 0x458e3f
jmp 0x458e5f
cmp dword [ebp - 0x40], 0
jle 0x458e13
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x40]
jge 0x458e13
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
jle 0x458e13
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x44], 0
jle 0x458e5f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x44]
jle 0x458e5f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jle 0x458e5f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
jmp 0x458e5f
mov eax, dword [ebx + 0x78]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
add dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x78]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
add dword [ebp - 0x34], eax
movzx eax, byte [ebp - 0x4e]
dec eax
sub al, 2
jb 0x458e6c
je 0x458ec2
jmp 0x458ee2
cmp dword [ebp - 0x48], 0
jle 0x458e96
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x48]
jge 0x458e96
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jle 0x458e96
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x4c], 0
jle 0x458ee2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x4c]
jle 0x458ee2
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jle 0x458ee2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
jmp 0x458ee2
mov eax, dword [ebx + 0x78]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x10]
add dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x78]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x10]
add dword [ebp - 0x3c], eax
inc dword [ebp - 0x1c]
dec edi
jne 0x458c97
cmp dword [ebp - 0x20], 0
jle 0x458f0a
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jle 0x458f0a
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp - 0x24], 0
jle 0x458f30
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x458f25
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
cmp eax, dword [edx]
jle 0x458f30
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
cmp dword [ebp - 0x28], 0
jle 0x458f4e
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
cmp eax, dword [edx]
jle 0x458f4e
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov dword [edx], eax
cmp dword [ebp - 0x2c], 0
jle 0x458f74
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x458f69
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jle 0x458f74
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458fc9
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jle 0x458f91
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add dword [eax], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jle 0x458fa1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
add dword [eax], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jle 0x458fb1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
add dword [eax], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jle 0x458fc1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
add dword [eax], edx
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8