Function at 0x742b64
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 0x742e98
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 0x742e66
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, 0x742eb4
call fcn.0040a73c
mov eax, dword [ebp - 0x22c]
call fcn.0040a528
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x742e09
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 0x742c4b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x742c8c
lea edx, [ebp - 0x230]
mov eax, dword [esi]
call fcn.00429da4
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 0x742c82
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, 0x742eb4
call fcn.0040a73c
mov eax, dword [ebp - 0x234]
call fcn.0040a528
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp al, 4
jne 0x742dc0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.007429ec
movzx eax, byte [ebp - 9]
sub al, 1
jb 0x742ce3
je 0x742d3a
dec al
je 0x742d7f
jmp 0x742dff
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00742adc
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742d02
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x742ec8
push dword [ebp - 8]
push 0x742ee0
lea eax, [ebp - 0x238]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x238]
push 0x742ef4
mov eax, esi
mov edx, 6
call fcn.0040a81c
jmp 0x742dff
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742d4e
mov edi, ebx
and di, 0xffdf
push dword [ebp - 4]
push 0x742f08
lea eax, [ebp - 0x23c]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x23c]
push 0x742ef4
mov eax, esi
mov edx, 4
call fcn.0040a81c
jmp 0x742dff
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742d93
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x742f08
lea eax, [ebp - 0x240]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x240]
push 0x742ef4
mov eax, esi
mov edx, 4
call fcn.0040a81c
jmp 0x742dff
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742dd4
mov edi, ebx
and di, 0xffdf
push dword [esi]
push 0x742f08
lea eax, [ebp - 0x244]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x244]
push 0x742ef4
mov eax, esi
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x742e4f
mov edi, ebx
mov eax, ebx
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x742e1d
mov edi, ebx
and di, 0xffdf
push 0x742f1c
lea eax, [ebp - 0x248]
mov edx, edi
call fcn.0040a550
push dword [ebp - 0x248]
push 0x742ef4
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 0x742e6d
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret