Function at 0x6025ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x602885
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004f027c
lea eax, [ebp - 4]
call fcn.005fb758
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004f02d0
mov eax, dword [ebp - 4]
test eax, eax
je 0x602603
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xf0
jle 0x602629
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0xc4]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
mov eax, dword [ebp - 4]
test eax, eax
je 0x602635
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x60264d
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x60264d
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x5c
je 0x602651
xor ebx, ebx
jmp 0x602653
mov bl, 1
test bl, bl
je 0x602679
cmp byte [ebp - 9], 0
jne 0x602679
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0x7c]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
test bl, bl
jne 0x602703
cmp byte [ebp - 0xa], 0
jne 0x60268e
mov edx, 4
jmp 0x602693
mov edx, 3
mov eax, dword [ebp - 4]
test eax, eax
je 0x60269f
sub eax, 4
mov eax, dword [eax]
cmp edx, eax
jle 0x6026a7
mov al, 1
jmp 0x6026cc
mov eax, dword [ebp - 4]
movzx edx, word [eax]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x6026c0
mov eax, edx
and ax, 0xffdf
add eax, 0xffffffbf
sub ax, 0x1a
setb al
xor al, 1
test al, al
jne 0x6026e4
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
jne 0x6026e4
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0x5c
je 0x602737
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0x1b4]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dx, 0x5c
mov eax, esi
call fcn.005a2e98
cmp esi, eax
jb 0x602737
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0x1b4]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
mov eax, dword [ebp - 4]
call fcn.005fb8b0
test al, al
jne 0x60275b
mov eax, dword [ebp - 4]
call fcn.005fb8d8
test al, al
jne 0x60275b
mov eax, dword [ebp - 4]
call fcn.005fb918
test al, al
je 0x60277a
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0x1a4]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00409be4
mov edx, dword [ebp - 0x10]
mov eax, 0x6028a4
call fcn.005a2d1c
test eax, eax
je 0x6027d2
push 0
push 1
push 1
lea edx, [ebp - 0x18]
mov eax, 0x6028a4
call fcn.005fb994
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov al, 0xb
call fcn.005ab224
mov eax, dword [ebp - 0x14]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005a2c48
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.005a274c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.005a2f24
mov eax, dword [ebp - 8]
call fcn.00602540
mov eax, dword [ebp - 8]
call fcn.005a3048
test al, al
jne 0x602823
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0x1a8]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
test bl, bl
jne 0x602859
cmp byte [ebp + 8], 0
jne 0x602859
mov eax, dword [ebp - 8]
call fcn.004097c0
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jne 0x602859
push 0
push 1
push 1
mov eax, dword [0x655788]
mov eax, dword [eax + 0x78]
mov cl, 2
xor edx, edx
call fcn.00639e14
jmp 0x60285d
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60288c
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.0040876c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040876c
ret