Function at 0x46c4bc
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 0x46c734
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 0x46c52a
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bd04]
call fcn.0047efd0
jmp 0x46c719
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 2
jl 0x46c548
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x46c548
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x5c
je 0x46c54c
xor ebx, ebx
jmp 0x46c54e
mov bl, 1
test bl, bl
je 0x46c571
cmp byte [ebp - 1], 0
jne 0x46c571
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bcbc]
call fcn.0047efd0
jmp 0x46c719
test bl, bl
jne 0x46c5d6
cmp byte [ebp - 2], 0
jne 0x46c582
mov esi, 4
jmp 0x46c587
mov esi, 3
mov eax, dword [ebp - 8]
call fcn.00403574
cmp esi, eax
jg 0x46c5bd
mov eax, dword [ebp - 8]
mov al, byte [eax]
call fcn.004027b4
mov edx, 0x46c748
call fcn.0042ea9c
test al, al
je 0x46c5bd
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x3a
jne 0x46c5bd
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0x5c
je 0x46c602
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bdec]
call fcn.0047efd0
jmp 0x46c719
mov eax, dword [ebp - 8]
lea esi, [eax + 2]
mov dl, 0x5c
mov eax, esi
call fcn.0042cb4c
cmp esi, eax
jb 0x46c602
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bdec]
call fcn.0047efd0
jmp 0x46c719
mov eax, dword [ebp - 8]
call fcn.004669e0
test al, al
jne 0x46c626
mov eax, dword [ebp - 8]
call fcn.00466a08
test al, al
jne 0x46c626
mov eax, dword [ebp - 8]
call fcn.00466a38
test al, al
je 0x46c63f
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bddc]
call fcn.0047efd0
jmp 0x46c719
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, 0x46c770
call fcn.0042c99c
test eax, eax
je 0x46c697
push 0
push 1
push 1
lea edx, [ebp - 0x14]
mov eax, 0x46c770
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.0047efd0
jmp 0x46c719
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.0046c450
mov eax, dword [ebp - 0xc]
call fcn.0042cd48
test al, al
jne 0x46c6e2
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bde0]
call fcn.0047efd0
jmp 0x46c719
test bl, bl
jne 0x46c715
cmp byte [ebp + 8], 0
jne 0x46c715
mov eax, dword [ebp - 0xc]
call fcn.00403738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 4
jne 0x46c715
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49bcb8]
call fcn.0047efd0
jmp 0x46c719
mov byte [ebp - 3], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c73b
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403420
ret