Function at 0x5608fc
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 0x560bb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0049aa8c
lea eax, [ebp - 4]
call fcn.00559e34
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049aadc
mov eax, dword [ebp - 4]
call fcn.00409d60
cmp eax, 0xf0
jle 0x560975
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0xcc]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
mov eax, dword [ebp - 4]
call fcn.00409d60
cmp eax, 2
jl 0x560995
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x560995
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x5c
je 0x560999
xor ebx, ebx
jmp 0x56099b
mov bl, 1
test bl, bl
je 0x5609c4
cmp byte [ebp - 9], 0
jne 0x5609c4
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x80]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
test bl, bl
jne 0x560a32
cmp byte [ebp - 0xa], 0
jne 0x5609d5
mov esi, 4
jmp 0x5609da
mov esi, 3
mov eax, dword [ebp - 4]
call fcn.00409d60
cmp esi, eax
jg 0x560a13
mov eax, dword [ebp - 4]
movzx eax, word [eax]
call fcn.00406ac8
mov edx, 0x560bcc
call fcn.0041c0bc
test al, al
je 0x560a13
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
jne 0x560a13
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0x5c
je 0x560a66
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x200]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dx, 0x5c
mov eax, esi
call fcn.0050d668
cmp esi, eax
jb 0x560a66
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x200]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
mov eax, dword [ebp - 4]
call fcn.00559f7c
test al, al
jne 0x560a8a
mov eax, dword [ebp - 4]
call fcn.00559fa4
test al, al
jne 0x560a8a
mov eax, dword [ebp - 4]
call fcn.00559fe4
test al, al
je 0x560aa9
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x1f0]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.0040ac9c
mov edx, dword [ebp - 0x10]
mov eax, 0x560bf8
call fcn.0050d4fc
test eax, eax
je 0x560b03
push 0
push 1
push 1
lea edx, [ebp - 0x18]
mov eax, 0x560bf8
call fcn.0055a060
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov ax, 0xb
call fcn.00515f84
mov eax, dword [ebp - 0x14]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0050d42c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0050cf4c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.0050d6ec
mov eax, dword [ebp - 8]
call fcn.0056089c
mov eax, dword [ebp - 8]
call fcn.0050eb90
test al, al
jne 0x560b54
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x1f4]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
test bl, bl
jne 0x560b8a
cmp byte [ebp + 8], 0
jne 0x560b8a
mov eax, dword [ebp - 8]
call fcn.0040a87c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jne 0x560b8a
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x7c]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
jmp 0x560b8e
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560bbd
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.004098a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098a0
ret