Function at 0x68afb0
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 0x68b2e8
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 0x68b2b4
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.0040a818
lea eax, [ebp - 0x22c]
mov edx, 0x68b304
call fcn.0040aa04
mov eax, dword [ebp - 0x22c]
call fcn.0040a7f8
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x68b255
lea eax, [ebp - 0x226]
call fcn.0040a12c
lea edx, [ebp - 0x226]
mov ecx, esi
xchg ecx, eax
call fcn.00409dcc
mov eax, dword [esi]
test eax, eax
je 0x68b097
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x68b0d8
lea edx, [ebp - 0x230]
mov eax, dword [esi]
call fcn.0042d344
mov edx, dword [ebp - 0x230]
mov eax, esi
call fcn.0040a024
mov eax, dword [esi]
movzx eax, word [eax]
mov edi, eax
mov edx, eax
add edx, 0xffffff9f
sub dx, 0x1a
jae 0x68b0ce
mov edi, eax
and di, 0xffdf
mov eax, esi
call fcn.0040a1c8
mov word [eax], di
lea eax, [ebp - 0x234]
mov edx, ebx
call fcn.0040a818
lea eax, [ebp - 0x234]
mov edx, 0x68b304
call fcn.0040aa04
mov eax, dword [ebp - 0x234]
call fcn.0040a7f8
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp al, 4
jne 0x68b20c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0068ae30
movzx eax, byte [ebp - 9]
sub al, 1
jb 0x68b12f
je 0x68b186
dec al
je 0x68b1cb
jmp 0x68b24b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0068af24
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x68b14e
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x68b318
push dword [ebp - 8]
push 0x68b330
lea eax, [ebp - 0x238]
mov edx, edi
call fcn.0040a818
push dword [ebp - 0x238]
push 0x68b344
mov eax, esi
mov edx, 6
call fcn.0040aae4
jmp 0x68b24b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x68b19a
mov edi, ebx
and di, 0xffdf
push dword [ebp - 4]
push 0x68b358
lea eax, [ebp - 0x23c]
mov edx, edi
call fcn.0040a818
push dword [ebp - 0x23c]
push 0x68b344
mov eax, esi
mov edx, 4
call fcn.0040aae4
jmp 0x68b24b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x68b1df
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x68b358
lea eax, [ebp - 0x240]
mov edx, edi
call fcn.0040a818
push dword [ebp - 0x240]
push 0x68b344
mov eax, esi
mov edx, 4
call fcn.0040aae4
jmp 0x68b24b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x68b220
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x68b358
lea eax, [ebp - 0x244]
mov edx, edi
call fcn.0040a818
push dword [ebp - 0x244]
push 0x68b344
mov eax, esi
mov edx, 4
call fcn.0040aae4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x68b29b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x68b269
mov edi, ebx
and di, 0xffdf
push 0x68b36c
lea eax, [ebp - 0x248]
mov edx, edi
call fcn.0040a818
push dword [ebp - 0x248]
push 0x68b344
mov eax, esi
mov edx, 3
call fcn.0040aae4
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68b2bb
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax