Function at 0x4720f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x47244c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
push 0x20
lea eax, [ebp - 0x61]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x105
lea eax, [ebp - 0x82]
push eax
lea eax, [ebp - 0x88]
mov edx, ebx
call fcn.00404968
lea eax, [ebp - 0x88]
mov edx, 0x472464
call fcn.00404a48
mov eax, dword [ebp - 0x88]
call fcn.00404c40
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x4721a9
mov eax, edi
mov edx, 0x472470
call fcn.004047d4
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x82]
call fcn.0040960c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.004047d4
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x90]
mov eax, 8
call fcn.00408b48
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 8]
call fcn.004047d4
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x61]
call fcn.0040960c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 0x14]
call fcn.004047d4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
mov edx, ebx
call fcn.00404968
lea eax, [ebp - 0x98]
mov edx, 0x472464
call fcn.00404a48
mov eax, dword [ebp - 0x98]
call fcn.00404c40
push eax
mov eax, dword [0x489b18]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x472257
mov eax, edi
mov edx, 0x472490
call fcn.00404a48
push esi
call sub.kernel32.dll_SetErrorMode
cmp dword [ebp - 0x24], 0
jne 0x47226e
cmp dword [ebp - 0x28], 0x3e8
jae 0x472299
jmp 0x472270
jge 0x472299
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x9c]
call fcn.00408af8
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 0x10]
mov ecx, 0x4724ac
call fcn.00404a8c
jmp 0x4723c3
cmp dword [ebp - 0x24], 0
jne 0x4722aa
cmp dword [ebp - 0x28], 0xf4240
jae 0x4722f8
jmp 0x4722ac
jge 0x4722f8
fild qword [ebp - 0x28]
fdiv dword [0x4724b4]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x19c]
mov edx, 2
xor eax, eax
call fcn.004033c8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x34]
call fcn.004049e4
mov eax, dword [ebp + 0x10]
mov ecx, 0x4724c0
mov edx, dword [ebp - 0x34]
call fcn.00404a8c
jmp 0x4723c3
cmp dword [ebp - 0x24], 0
jne 0x472309
cmp dword [ebp - 0x28], 0x3b9aca00
jae 0x47235a
jmp 0x47230b
jge 0x47235a
fild qword [ebp - 0x28]
fdiv dword [0x4724b4]
fdiv dword [0x4724b4]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x19c]
mov edx, 2
xor eax, eax
call fcn.004033c8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x34]
call fcn.004049e4
mov eax, dword [ebp + 0x10]
mov ecx, 0x4724cc
mov edx, dword [ebp - 0x34]
call fcn.00404a8c
jmp 0x4723c3
cmp dword [ebp - 0x24], 0xe8
jne 0x47236e
cmp dword [ebp - 0x28], 0xd4a51000
jae 0x4723c3
jmp 0x472370
jge 0x4723c3
fild qword [ebp - 0x28]
fdiv dword [0x4724b4]
fdiv dword [0x4724b4]
fdiv dword [0x4724b4]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x19c]
mov edx, 2
xor eax, eax
call fcn.004033c8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x34]
call fcn.004049e4
mov eax, dword [ebp + 0x10]
mov ecx, 0x4724d8
mov edx, dword [ebp - 0x34]
call fcn.00404a8c
fild qword [ebp - 0x30]
fdiv dword [0x4724b4]
fdiv dword [0x4724b4]
fdiv dword [0x4724b4]
fmul dword [0x4724dc]
call fcn.00402adc
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
fild qword [ebp - 0x1a8]
fdiv dword [0x4724dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x1a0]
call fcn.0040a228
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp + 0xc]
call fcn.004047d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472453
lea eax, [ebp - 0x1a0]
call fcn.00404780
lea eax, [ebp - 0x9c]
mov edx, 6
call fcn.004047a4
lea eax, [ebp - 0x34]
call fcn.00404780
ret