Function at 0x7a22b0
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 0x7a2589
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00513d14
lea eax, [ebp - 4]
call fcn.0079b408
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00513d68
mov eax, dword [ebp - 4]
test eax, eax
je 0x7a2307
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xf0
jle 0x7a232d
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0xc8]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
mov eax, dword [ebp - 4]
test eax, eax
je 0x7a2339
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x7a2351
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x7a2351
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x5c
je 0x7a2355
xor ebx, ebx
jmp 0x7a2357
mov bl, 1
test bl, bl
je 0x7a237d
cmp byte [ebp - 9], 0
jne 0x7a237d
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x7c]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
test bl, bl
jne 0x7a2407
cmp byte [ebp - 0xa], 0
jne 0x7a2392
mov edx, 4
jmp 0x7a2397
mov edx, 3
mov eax, dword [ebp - 4]
test eax, eax
je 0x7a23a3
sub eax, 4
mov eax, dword [eax]
cmp edx, eax
jle 0x7a23ab
mov al, 1
jmp 0x7a23d0
mov eax, dword [ebp - 4]
movzx edx, word [eax]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x7a23c4
mov eax, edx
and ax, 0xffdf
add eax, 0xffffffbf
sub ax, 0x1a
setb al
xor al, 1
test al, al
jne 0x7a23e8
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
jne 0x7a23e8
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0x5c
je 0x7a243b
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x1bc]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dx, 0x5c
mov eax, esi
call fcn.005e12c4
cmp esi, eax
jb 0x7a243b
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x1bc]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
mov eax, dword [ebp - 4]
call fcn.0079b560
test al, al
jne 0x7a245f
mov eax, dword [ebp - 4]
call fcn.0079b588
test al, al
jne 0x7a245f
mov eax, dword [ebp - 4]
call fcn.0079b5c8
test al, al
je 0x7a247e
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x1ac]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00409d44
mov edx, dword [ebp - 0x10]
mov eax, 0x7a25a8
call fcn.005e1148
test eax, eax
je 0x7a24d6
push 0
push 1
push 1
lea edx, [ebp - 0x18]
mov eax, 0x7a25a8
call fcn.0079b644
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov al, 0xb
call fcn.005e96a4
mov eax, dword [ebp - 0x14]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005e1074
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.005e0b78
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.005e1350
mov eax, dword [ebp - 8]
call fcn.007a2244
mov eax, dword [ebp - 8]
call fcn.005e1474
test al, al
jne 0x7a2527
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x1b0]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
test bl, bl
jne 0x7a255d
cmp byte [ebp + 8], 0
jne 0x7a255d
mov eax, dword [ebp - 8]
call fcn.0040990c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jne 0x7a255d
push 0
push 1
push 1
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x78]
mov cl, 2
xor edx, edx
call fcn.007da9a8
jmp 0x7a2561
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a2590
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.004088a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004088a4
ret