Function at 0x72d314
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov byte [ebp - 9], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x72d648
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x72d616
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20a
lea eax, [ebp - 0x226]
push eax
lea eax, [ebp - 0x22c]
mov edx, ebx
call fcn.0040a554
lea eax, [ebp - 0x22c]
mov edx, 0x72d664
call fcn.0040a740
mov eax, dword [ebp - 0x22c]
call fcn.0040a52c
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x72d5b9
lea eax, [ebp - 0x226]
call fcn.00409db4
lea edx, [ebp - 0x226]
mov ecx, esi
xchg ecx, eax
call fcn.00409a4c
mov eax, dword [esi]
test eax, eax
je 0x72d3fb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x72d43c
lea edx, [ebp - 0x230]
mov eax, dword [esi]
call fcn.004293d4
mov edx, dword [ebp - 0x230]
mov eax, esi
call fcn.00409ca4
mov eax, dword [esi]
movzx eax, word [eax]
mov edi, eax
mov edx, eax
add edx, 0xffffff9f
sub dx, 0x1a
jae 0x72d432
mov edi, eax
and di, 0xffdf
mov eax, esi
call fcn.00409e50
mov word [eax], di
lea eax, [ebp - 0x234]
mov edx, ebx
call fcn.0040a554
lea eax, [ebp - 0x234]
mov edx, 0x72d664
call fcn.0040a740
mov eax, dword [ebp - 0x234]
call fcn.0040a52c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp al, 4
jne 0x72d570
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0072d19c
movzx eax, byte [ebp - 9]
sub al, 1
jb 0x72d493
je 0x72d4ea
dec al
je 0x72d52f
jmp 0x72d5af
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0072d28c
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d4b2
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x72d678
push dword [ebp - 8]
push 0x72d690
lea eax, [ebp - 0x238]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x238]
push 0x72d6a4
mov eax, esi
mov edx, 6
call fcn.0040a820
jmp 0x72d5af
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d4fe
mov edi, ebx
and di, 0xffdf
push dword [ebp - 4]
push 0x72d6b8
lea eax, [ebp - 0x23c]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x23c]
push 0x72d6a4
mov eax, esi
mov edx, 4
call fcn.0040a820
jmp 0x72d5af
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d543
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x72d6b8
lea eax, [ebp - 0x240]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x240]
push 0x72d6a4
mov eax, esi
mov edx, 4
call fcn.0040a820
jmp 0x72d5af
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d584
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x72d6b8
lea eax, [ebp - 0x244]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x244]
push 0x72d6a4
mov eax, esi
mov edx, 4
call fcn.0040a820
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x72d5ff
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d5cd
mov edi, ebx
and di, 0xffdf
push 0x72d6cc
lea eax, [ebp - 0x248]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x248]
push 0x72d6a4
mov eax, esi
mov edx, 3
call fcn.0040a820
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72d61d
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret