Function at 0x72d30c
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 0x72d640
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 0x72d60e
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, 0x72d65c
call fcn.0040a740
mov eax, dword [ebp - 0x22c]
call fcn.0040a52c
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x72d5b1
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 0x72d3f3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x72d434
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 0x72d42a
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, 0x72d65c
call fcn.0040a740
mov eax, dword [ebp - 0x234]
call fcn.0040a52c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp al, 4
jne 0x72d568
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0072d194
movzx eax, byte [ebp - 9]
sub al, 1
jb 0x72d48b
je 0x72d4e2
dec al
je 0x72d527
jmp 0x72d5a7
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0072d284
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d4aa
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x72d670
push dword [ebp - 8]
push 0x72d688
lea eax, [ebp - 0x238]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x238]
push 0x72d69c
mov eax, esi
mov edx, 6
call fcn.0040a820
jmp 0x72d5a7
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d4f6
mov edi, ebx
and di, 0xffdf
push dword [ebp - 4]
push 0x72d6b0
lea eax, [ebp - 0x23c]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x23c]
push 0x72d69c
mov eax, esi
mov edx, 4
call fcn.0040a820
jmp 0x72d5a7
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d53b
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x72d6b0
lea eax, [ebp - 0x240]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x240]
push 0x72d69c
mov eax, esi
mov edx, 4
call fcn.0040a820
jmp 0x72d5a7
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d57c
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x72d6b0
lea eax, [ebp - 0x244]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x244]
push 0x72d69c
mov eax, esi
mov edx, 4
call fcn.0040a820
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x72d5f7
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x72d5c5
mov edi, ebx
and di, 0xffdf
push 0x72d6c4
lea eax, [ebp - 0x248]
mov edx, edi
call fcn.0040a554
push dword [ebp - 0x248]
push 0x72d69c
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 0x72d615
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret