Function at 0x4893ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x489724
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea eax, [ebp - 0x59]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x105
lea eax, [ebp - 0x7a]
push eax
lea eax, [ebp - 0x80]
mov edx, ebx
call fcn.0040455c
lea eax, [ebp - 0x80]
mov edx, 0x48973c
call fcn.0040463c
mov eax, dword [ebp - 0x80]
call fcn.00404834
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x48948c
mov eax, esi
mov edx, 0x489748
call fcn.004043c8
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x7a]
call fcn.004090d0
mov edx, dword [ebp - 0x84]
mov eax, edi
call fcn.004043c8
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x88]
mov eax, 8
call fcn.00408750
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.004043c8
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x59]
call fcn.004090d0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x14]
call fcn.004043c8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x90]
mov edx, ebx
call fcn.0040455c
lea eax, [ebp - 0x90]
mov edx, 0x48973c
call fcn.0040463c
mov eax, dword [ebp - 0x90]
call fcn.00404834
push eax
mov eax, dword [0x48eb3c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x489536
mov eax, esi
mov edx, 0x489768
call fcn.0040463c
cmp dword [ebp - 0x1c], 0
jne 0x489547
cmp dword [ebp - 0x20], 0x3e8
jae 0x489571
jmp 0x489549
jge 0x489571
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x94]
call fcn.00408700
mov edx, dword [ebp - 0x94]
mov eax, esi
mov ecx, 0x489784
call fcn.00404680
jmp 0x48969b
cmp dword [ebp - 0x1c], 0
jne 0x489582
cmp dword [ebp - 0x20], 0xf4240
jae 0x4895d0
jmp 0x489584
jge 0x4895d0
fild qword [ebp - 0x20]
fdiv dword [0x48978c]
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x194]
mov edx, 2
xor eax, eax
call fcn.00402f30
lea edx, [ebp - 0x194]
lea eax, [ebp - 0x2c]
call fcn.004045d8
mov eax, dword [ebp + 0x10]
mov ecx, 0x489798
mov edx, dword [ebp - 0x2c]
call fcn.00404680
jmp 0x48969b
cmp dword [ebp - 0x1c], 0
jne 0x4895e1
cmp dword [ebp - 0x20], 0x3b9aca00
jae 0x489632
jmp 0x4895e3
jge 0x489632
fild qword [ebp - 0x20]
fdiv dword [0x48978c]
fdiv dword [0x48978c]
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x194]
mov edx, 2
xor eax, eax
call fcn.00402f30
lea edx, [ebp - 0x194]
lea eax, [ebp - 0x2c]
call fcn.004045d8
mov eax, dword [ebp + 0x10]
mov ecx, 0x4897a4
mov edx, dword [ebp - 0x2c]
call fcn.00404680
jmp 0x48969b
cmp dword [ebp - 0x1c], 0xe8
jne 0x489646
cmp dword [ebp - 0x20], 0xd4a51000
jae 0x48969b
jmp 0x489648
jge 0x48969b
fild qword [ebp - 0x20]
fdiv dword [0x48978c]
fdiv dword [0x48978c]
fdiv dword [0x48978c]
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x194]
mov edx, 2
xor eax, eax
call fcn.00402f30
lea edx, [ebp - 0x194]
lea eax, [ebp - 0x2c]
call fcn.004045d8
mov eax, dword [ebp + 0x10]
mov ecx, 0x4897b0
mov edx, dword [ebp - 0x2c]
call fcn.00404680
fild qword [ebp - 0x28]
fdiv dword [0x48978c]
fdiv dword [0x48978c]
fdiv dword [0x48978c]
fmul dword [0x4897b4]
call fcn.00402b00
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], edx
fild qword [ebp - 0x1a0]
fdiv dword [0x4897b4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x198]
call fcn.00409cec
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0xc]
call fcn.004043c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48972b
lea eax, [ebp - 0x198]
call fcn.00404374
lea eax, [ebp - 0x94]
mov edx, 6
call fcn.00404398
lea eax, [ebp - 0x2c]
call fcn.00404374
ret