Function at 0x46d17c
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 0x46d3f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 3], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00414f38
lea eax, [ebp - 8]
call fcn.00467524
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00414f68
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 0xf0
jle 0x46d1ea
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49dd08]
call fcn.004802d4
jmp 0x46d3d9
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 2
jl 0x46d208
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x46d208
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x5c
je 0x46d20c
xor ebx, ebx
jmp 0x46d20e
mov bl, 1
test bl, bl
je 0x46d231
cmp byte [ebp - 1], 0
jne 0x46d231
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49dcc0]
call fcn.004802d4
jmp 0x46d3d9
test bl, bl
jne 0x46d296
cmp byte [ebp - 2], 0
jne 0x46d242
mov esi, 4
jmp 0x46d247
mov esi, 3
mov eax, dword [ebp - 8]
call fcn.00403574
cmp esi, eax
jg 0x46d27d
mov eax, dword [ebp - 8]
mov al, byte [eax]
call fcn.004027b4
mov edx, 0x46d408
call fcn.0042eeec
test al, al
je 0x46d27d
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x3a
jne 0x46d27d
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0x5c
je 0x46d2c2
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ddf0]
call fcn.004802d4
jmp 0x46d3d9
mov eax, dword [ebp - 8]
lea esi, [eax + 2]
mov dl, 0x5c
mov eax, esi
call fcn.0042cf9c
cmp esi, eax
jb 0x46d2c2
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ddf0]
call fcn.004802d4
jmp 0x46d3d9
mov eax, dword [ebp - 8]
call fcn.0046766c
test al, al
jne 0x46d2e6
mov eax, dword [ebp - 8]
call fcn.00467694
test al, al
jne 0x46d2e6
mov eax, dword [ebp - 8]
call fcn.004676c4
test al, al
je 0x46d2ff
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49dde0]
call fcn.004802d4
jmp 0x46d3d9
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, 0x46d430
call fcn.0042cdec
test eax, eax
je 0x46d357
push 0
push 1
push 1
lea edx, [ebp - 0x14]
mov eax, 0x46d430
call fcn.00467720
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov al, 7
call fcn.00451b9c
mov eax, dword [ebp - 0x10]
mov cl, 2
xor edx, edx
call fcn.004802d4
jmp 0x46d3d9
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0042cd1c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042c84c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0042d010
mov eax, dword [ebp - 0xc]
call fcn.0046d110
mov eax, dword [ebp - 0xc]
call fcn.0042d198
test al, al
jne 0x46d3a2
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49dde4]
call fcn.004802d4
jmp 0x46d3d9
test bl, bl
jne 0x46d3d5
cmp byte [ebp + 8], 0
jne 0x46d3d5
mov eax, dword [ebp - 0xc]
call fcn.00403738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 4
jne 0x46d3d5
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49dcbc]
call fcn.004802d4
jmp 0x46d3d9
mov byte [ebp - 3], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d3fb
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403420
ret