Function at 0x46da68
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 0x46dce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 3], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00414f78
lea eax, [ebp - 8]
call fcn.00467d24
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00414fa8
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 0xf0
jle 0x46dad6
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ed08]
call fcn.00481214
jmp 0x46dcc5
mov eax, dword [ebp - 8]
call fcn.00403574
cmp eax, 2
jl 0x46daf4
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x46daf4
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x5c
je 0x46daf8
xor ebx, ebx
jmp 0x46dafa
mov bl, 1
test bl, bl
je 0x46db1d
cmp byte [ebp - 1], 0
jne 0x46db1d
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ecc0]
call fcn.00481214
jmp 0x46dcc5
test bl, bl
jne 0x46db82
cmp byte [ebp - 2], 0
jne 0x46db2e
mov esi, 4
jmp 0x46db33
mov esi, 3
mov eax, dword [ebp - 8]
call fcn.00403574
cmp esi, eax
jg 0x46db69
mov eax, dword [ebp - 8]
mov al, byte [eax]
call fcn.004027b4
mov edx, 0x46dcf4
call fcn.0042ef2c
test al, al
je 0x46db69
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x3a
jne 0x46db69
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0x5c
je 0x46dbae
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49edf0]
call fcn.00481214
jmp 0x46dcc5
mov eax, dword [ebp - 8]
lea esi, [eax + 2]
mov dl, 0x5c
mov eax, esi
call fcn.0042cfdc
cmp esi, eax
jb 0x46dbae
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49edf0]
call fcn.00481214
jmp 0x46dcc5
mov eax, dword [ebp - 8]
call fcn.00467e6c
test al, al
jne 0x46dbd2
mov eax, dword [ebp - 8]
call fcn.00467e94
test al, al
jne 0x46dbd2
mov eax, dword [ebp - 8]
call fcn.00467ec4
test al, al
je 0x46dbeb
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ede0]
call fcn.00481214
jmp 0x46dcc5
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, 0x46dd1c
call fcn.0042ce2c
test eax, eax
je 0x46dc43
push 0
push 1
push 1
lea edx, [ebp - 0x14]
mov eax, 0x46dd1c
call fcn.00467f20
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov al, 7
call fcn.00451c30
mov eax, dword [ebp - 0x10]
mov cl, 2
xor edx, edx
call fcn.00481214
jmp 0x46dcc5
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0042cd5c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042c88c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0042d050
mov eax, dword [ebp - 0xc]
call fcn.0046d9fc
mov eax, dword [ebp - 0xc]
call fcn.0042d1d8
test al, al
jne 0x46dc8e
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ede4]
call fcn.00481214
jmp 0x46dcc5
test bl, bl
jne 0x46dcc1
cmp byte [ebp + 8], 0
jne 0x46dcc1
mov eax, dword [ebp - 0xc]
call fcn.00403738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 4
jne 0x46dcc1
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ecbc]
call fcn.00481214
jmp 0x46dcc5
mov byte [ebp - 3], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dce7
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403420
ret