Function at 0x742ab0
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 0x742de4
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 0x742db2
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.0040a550
lea eax, [ebp - 0x22c]
mov edx, 0x742e00
call fcn.0040a73c
mov eax, dword [ebp - 0x22c]
call fcn.0040a528
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x742d55
lea eax, [ebp - 0x226]
call fcn.00409db0
lea edx, [ebp - 0x226]
mov ecx, esi
xchg ecx, eax
call fcn.00409a48
mov eax, dword [esi]
test eax, eax
je 0x742b97
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x742bd8
lea edx, [ebp - 0x230]
mov eax, dword [esi]
call fcn.00429cec
mov edx, dword [ebp - 0x230]
mov eax, esi
call fcn.00409ca0
mov eax, dword [esi]
movzx eax, word [eax]
mov edi, eax
mov edx, eax
add edx, 0xffffff9f
sub dx, 0x1a
jae 0x742bce
mov edi, eax
and di, 0xffdf
mov eax, esi
call fcn.00409e4c
mov word [eax], di
lea eax, [ebp - 0x234]
mov edx, ebx
call fcn.0040a550
lea eax, [ebp - 0x234]
mov edx, 0x742e00
call fcn.0040a73c
mov eax, dword [ebp - 0x234]
call fcn.0040a528
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp al, 4
jne 0x742d0c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00742938
movzx eax, byte [ebp - 9]
sub al, 1
jb 0x742c2f
je 0x742c86
dec al
je 0x742ccb
jmp 0x742d4b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00742a28
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742c4e
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x742e14
push dword [ebp - 8]
push 0x742e2c
lea eax, [ebp - 0x238]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x238]
push 0x742e40
mov eax, esi
mov edx, 6
call fcn.0040a81c
jmp 0x742d4b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742c9a
mov edi, ebx
and di, 0xffdf
push dword [ebp - 4]
push 0x742e54
lea eax, [ebp - 0x23c]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x23c]
push 0x742e40
mov eax, esi
mov edx, 4
call fcn.0040a81c
jmp 0x742d4b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742cdf
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x742e54
lea eax, [ebp - 0x240]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x240]
push 0x742e40
mov eax, esi
mov edx, 4
call fcn.0040a81c
jmp 0x742d4b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742d20
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x742e54
lea eax, [ebp - 0x244]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x244]
push 0x742e40
mov eax, esi
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x742d9b
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742d69
mov edi, ebx
and di, 0xffdf
push 0x742e68
lea eax, [ebp - 0x248]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x248]
push 0x742e40
mov eax, esi
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x742db9
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret