Function at 0x46c514
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 2], cl
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x46c78c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 3], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00414ae8
lea eax, [ebp - 8]
call fcn.00466898
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00414b18
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 0xf0
jle 0x46c582
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49cd04]
call fcn.0047f3ac
jmp 0x46c771
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 2
jl 0x46c5a0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x46c5a0
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x5c
je 0x46c5a4
xor ebx, ebx
jmp 0x46c5a6
mov bl, 1
test bl, bl
je 0x46c5c9
cmp byte [ebp - 1], 0
jne 0x46c5c9
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ccbc]
call fcn.0047f3ac
jmp 0x46c771
test bl, bl
jne 0x46c62e
cmp byte [ebp - 2], 0
jne 0x46c5da
mov esi, 4
jmp 0x46c5df
mov esi, 3
mov eax, dword [ebp - 8]
call fcn.00403574
cmp esi, eax
jg 0x46c615
mov eax, dword [ebp - 8]
mov al, byte [eax]
call fcn.004027b4
mov edx, 0x46c7a0
call fcn.0042ea9c
test al, al
je 0x46c615
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x3a
jne 0x46c615
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0x5c
je 0x46c65a
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49cdec]
call fcn.0047f3ac
jmp 0x46c771
mov eax, dword [ebp - 8]
lea esi, [eax + 2]
mov dl, 0x5c
mov eax, esi
call fcn.0042cb4c
cmp esi, eax
jb 0x46c65a
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49cdec]
call fcn.0047f3ac
jmp 0x46c771
mov eax, dword [ebp - 8]
call fcn.004669e0
test al, al
jne 0x46c67e
mov eax, dword [ebp - 8]
call fcn.00466a08
test al, al
jne 0x46c67e
mov eax, dword [ebp - 8]
call fcn.00466a38
test al, al
je 0x46c697
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49cddc]
call fcn.0047f3ac
jmp 0x46c771
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 8]
call fcn.00403778
mov edx, dword [ebp - 0x10]
mov eax, 0x46c7c8
call fcn.0042c99c
test eax, eax
je 0x46c6ef
push 0
push 1
push 1
lea edx, [ebp - 0x14]
mov eax, 0x46c7c8
call fcn.00466a94
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov al, 7
call fcn.00451458
mov eax, dword [ebp - 0x10]
mov cl, 2
xor edx, edx
call fcn.0047f3ac
jmp 0x46c771
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0042c8cc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042c3fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0042cbc0
mov eax, dword [ebp - 0xc]
call fcn.0046c4a8
mov eax, dword [ebp - 0xc]
call fcn.0042cd48
test al, al
jne 0x46c73a
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49cde0]
call fcn.0047f3ac
jmp 0x46c771
test bl, bl
jne 0x46c76d
cmp byte [ebp + 8], 0
jne 0x46c76d
mov eax, dword [ebp - 0xc]
call fcn.00403738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 4
jne 0x46c76d
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ccb8]
call fcn.0047f3ac
jmp 0x46c771
mov byte [ebp - 3], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c793
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403420
ret